Companion

object Companion

Functions

Link copied to clipboard
suspend fun <R> async(operation: suspend () -> R): Deferred<R>

Run the provided operation asynchronously, returning whatever result is returned by the operation.

Link copied to clipboard
suspend fun <R> io(operation: suspend () -> R): R

Run the provided I/O operation, returning whatever result is returned by the operation.