Module context

Source
Expand description

Types exposing Restate functionalities to service handlers.

Structs§

Context
Service handler context.
ObjectContext
Object handler context.
Request
This struct encapsulates the parameters for a request to a service.
RunRetryPolicy
This struct represents the policy to execute retries for run closures.
SharedObjectContext
Object shared handler context.
SharedWorkflowContext
Workflow shared handler context.
WorkflowContext
Workflow handler context.

Enums§

RequestTarget
Target of a request to a Restate service.

Traits§

CallFuture
ContextAwakeables
Awakeables
ContextClient
Service Communication
ContextPromises
Trait exposing Restate promise functionalities.
ContextReadState
Reading state
ContextSideEffects
Journaling Results
ContextTimers
Scheduling & Timers
ContextWriteState
Writing State
DurableFuture
IntoObjectClient
Trait used by codegen to use the object client.
IntoServiceClient
Trait used by codegen to create the service client.
IntoWorkflowClient
Trait used by codegen to use the workflow client.
InvocationHandle
RunClosure
Run closure trait
RunFuture
Future created using ContextSideEffects::run.

Type Aliases§

HeaderMap