Package-level declarations
Functions
Link copied to clipboard
Returns a memoizing SuspendProvider instance of this provider.
Link copied to clipboard
Returns a memoizing SuspendLazy instance of this provider.
Link copied to clipboard
expect fun <T> suspendLazy(mode: LazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED, initializer: suspend () -> T): SuspendLazy<T>
Creates a SuspendLazy that runs initializer on first access.
actual fun <T> suspendLazy(mode: LazyThreadSafetyMode, initializer: suspend () -> T): SuspendLazy<T>
Creates a SuspendLazy that runs initializer on first access.
actual fun <T> suspendLazy(mode: LazyThreadSafetyMode, initializer: suspend () -> T): SuspendLazy<T>
Creates a SuspendLazy that runs initializer on first access.
actual fun <T> suspendLazy(mode: LazyThreadSafetyMode, initializer: suspend () -> T): SuspendLazy<T>
Creates a SuspendLazy that runs initializer on first access.