Package dev.restate.sdk.common
Class Output<T>
java.lang.Object
dev.restate.sdk.common.Output<T>
- Type Parameters:
T
- the content type
This class is similar to
Optional
, but allows null values.-
Method Details
-
isReady
public boolean isReady()- Returns:
true
if the output is ready
-
getValue
- Returns:
- the value
- Throws:
IllegalStateException
- if this output is not ready.
-
map
- See Also:
-
orElse
- See Also:
-
orElseGet
- See Also:
-
notReady
-
ready
-
equals
-
hashCode
public int hashCode() -
toString
-