Interface Deferred<T>


public 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 Syscalls.resolveDeferred(Deferred, SyscallCallback)

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @Nullable Result<T>
     
  • Method Details

    • isCompleted

      boolean isCompleted()
    • toResult

      @Nullable Result<T> toResult()
      Returns:
      null if isCompleted() is false.