suspendLazy

fun <T> suspendLazy(initializer: suspend () -> T): SuspendLazy<T>

Creates a SuspendLazy backed by initializer.

The initializer does not run until the first SuspendLazy.get call.

Cancellation: this function does not suspend and performs no cancellation checks; cancellation semantics of the initialization are documented on SuspendLazy.get.