Package dev.restate.sdk.common.syscalls
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
-
Method Details
-
isCompleted
boolean isCompleted() -
toResult
- Returns:
null
ifisCompleted()
is false.
-