Expand description
This crate provides a basis for creating new Temporal SDKs without completely starting from scratch
Modules§
- protos
- Contains the protobuf definitions used as arguments to and return values from interactions with super::Core. Language SDK authors can generate structs using the proto definitions that will match the generated structs in this module.
Structs§
- Core
Init Options - Holds various configuration information required to call init
- Server
Gateway - Contains an instance of a client for interacting with the temporal server
- Server
Gateway Options - Options for the connection to the temporal server
- Url
- A parsed URL record.
Enums§
- Complete
Activity Error - Errors thrown by crate::Core::complete_activity_task
- Complete
WfError - Errors thrown by crate::Core::complete_workflow_task
- Core
Init Error - Errors thrown during initialization of crate::Core
- Poll
Activity Error - Errors thrown by crate::Core::poll_activity_task
- Poll
Task Request - Contains poll task request. String parameter defines a task queue to be polled.
- Poll
WfError - Errors thrown by crate::Core::poll_workflow_task
Traits§
- Core
- This trait is the primary way by which language specific SDKs interact with the core SDK. It is expected that only one instance of an implementation will exist for the lifetime of the worker(s) using it.
- Server
Gateway Apis - This trait provides ways to call the temporal server
Functions§
- init
- Initializes an instance of the core sdk and establishes a connection to the temporal server.
- tracing_
init - Initialize tracing subscribers and output. Core will not call this itself, it exists here so that consumers and tests have an easy way to initialize tracing.