arrow-fx / arrow.fx.internal / UnsafePromise

UnsafePromise

class ~~UnsafePromise~~<A> Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Constructors

<init> UnsafePromise()

Functions

complete fun complete(value: Either<Throwable, A>): Unit
get fun get(cb: (Either<Throwable, A>) -> Unit): Unit
remove fun remove(cb: (Either<Throwable, A>) -> Unit): Unit

Do you like Arrow?

Arrow Org
<