Package dev.restate.sdk
Interface AwakeableHandle
public interface AwakeableHandle
This class represents a handle to an
Awakeable
created in another service.-
Method Summary
-
Method Details
-
resolve
Complete with success theAwakeable
.- Parameters:
typeTag
- used to serialize theAwakeable
result payload.payload
- the result payload. MUST NOT be null.- See Also:
-
resolve
Complete with success theAwakeable
.- Parameters:
clazz
- used to serialize theAwakeable
result payload.payload
- the result payload. MUST NOT be null.- See Also:
-
reject
Complete with failure theAwakeable
.- Parameters:
reason
- the rejection reason. MUST NOT be null.- See Also:
-