public interface AwakeableHandle
This class represents a handle to an
Awakeable created in another service.
-
Method Summary
void
<T> void
resolve(dev.restate.serde.TypeTag<T> typeTag,
T payload)
default <T> void
-
Method Details
-
resolve
<T> void resolve(dev.restate.serde.TypeTag<T> typeTag,
T payload)
- Parameters:
typeTag - used to serialize the Awakeable result payload.
payload - the result payload. MUST NOT be null.
- See Also:
-
-
resolve
default <T> void resolve(Class<T> clazz,
T payload)
- Parameters:
clazz - used to serialize the Awakeable result payload.
payload - the result payload. MUST NOT be null.
- See Also:
-
-
reject
- Parameters:
reason - the rejection reason. MUST NOT be null.
- See Also:
-