ModuleCheck
0.12.5
0.13.0-SNAPSHOT
0.12.5
modulecheck-utils:lazy
/
modulecheck.utils.lazy
/
LazyDeferredImpl
Lazy
Deferred
Impl
internal
class
LazyDeferredImpl
<
T
>
(
val
action
:
suspend
(
)
->
T
,
val
lock
:
Mutex
)
:
LazyDeferred
<
T
>
Content copied to clipboard
Constructors
Functions
Properties
Sources
Constructors
Lazy
Deferred
Impl
Link copied to clipboard
fun
<
T
>
LazyDeferredImpl
(
action
:
suspend
(
)
->
T
,
lock
:
Mutex
)
Content copied to clipboard
Functions
await
Link copied to clipboard
open
suspend override
fun
await
(
)
:
T
Content copied to clipboard
Properties
_completed
Link copied to clipboard
private
var
_completed
:
Boolean
=
false
Content copied to clipboard
_value
Link copied to clipboard
private
var
_value
:
T
?
=
null
Content copied to clipboard
action
Link copied to clipboard
private
val
action
:
suspend
(
)
->
T
Content copied to clipboard
isCompleted
Link copied to clipboard
open
override
val
isCompleted
:
Boolean
Content copied to clipboard
lock
Link copied to clipboard
private
val
lock
:
Mutex
Content copied to clipboard
Sources
jvm source
Link copied to clipboard