Deferred

interface Deferred<T>

Interface to define interaction with deferred results.

Implementations of this class are provided by Syscalls and should not be overriden/wrapped.

To resolve a Deferred, use resolveDeferred

Functions

Link copied to clipboard
abstract fun isCompleted(): Boolean
Link copied to clipboard
@Nullable
abstract fun toResult(): @Nullable Result<T>