hmm I'm using that library in another software tha...
# arrow
b
hmm I'm using that library in another software that is not using arrow, so I was using unsafeRunSync() , but it doesn't seem to exist anymore either
r
there is no unsafeRunSync because basically you can replace IO<A> for suspend -> A
And all kotlin libs already integrate with suspend either through kotlinx, arrowfx coroutines or their own startCoroutine which will be the equivalent of unsafeRunSync.
You can still access unsafeRunSync or Async if you want via
Platform.unsafeRunSync
there is a few variations of it but should not be needed
Also IO<Throwable, A> is in any case incorrect because IO already has Throwable implicitly inside
b
hmm
s
Not sure if this helps https://github.com/arrow-kt/frdomain.kt/pull/13 But in the same repo you have this code written with IO in arrow 0.10 and suspended style with 0.11
👍 1