SyncFuture

class SyncFuture<T>(continuation: CancellableContinuation<T?>)

Constructors

Link copied to clipboard
constructor(continuation: CancellableContinuation<T?>)

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
inline fun catching(block: () -> Unit)
Link copied to clipboard
fun clean(block: (Throwable?) -> Unit)
Link copied to clipboard
fun send()
fun send(result: T?)
inline fun send(block: () -> T)