invoke

operator fun <T> invoke(
    block: suspend () -> T,
    completion: Continuation<T>
): Unit
(source)

Starts the corresponding block as a coroutine with this coroutine start strategy.

operator fun <R, T> invoke(
    block: suspend R.() -> T,
    receiver: R,
    completion: Continuation<T>
): Unit
(source)

Starts the corresponding block with receiver as a coroutine with this coroutine start strategy.