abstract fun complete(@Nullable value: T?): Boolean
(source)
Complete this result with the given value.
value
- The value to complete this result with.
Return
true
if this invocation caused this result to transition to a completed state, else false
.