Interface ITemporalConnection
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Interface to a connection to Temporal.
public interface ITemporalConnection : IBridgeClientProvider
- Inherited Members
Properties
OperatorService
Gets the raw operator service.
OperatorService OperatorService { get; }
Property Value
- See Also
Options
Gets the options used to create this connection.
TemporalConnectionOptions Options { get; }
Property Value
- See Also
RpcMetadata
Gets or sets the current RPC metadata (i.e. the headers). This can be updated which will apply to all future calls the client makes including inside a worker. Setting this value is thread safe.
IReadOnlyCollection<KeyValuePair<string, string>> RpcMetadata { get; set; }
Property Value
- See Also
TestService
Gets the raw gRPC test service.
TestService TestService { get; }
Property Value
Remarks
Only the StartTimeSkippingAsync(WorkflowEnvironmentStartTimeSkippingOptions?) environment has this service implemented.
- See Also
WorkflowService
Gets the raw workflow service.
WorkflowService WorkflowService { get; }
Property Value
- See Also
Methods
CheckHealthAsync(RpcService?, RpcOptions?)
Check health for the given service type.
Task<bool> CheckHealthAsync(RpcService? service = null, RpcOptions? options = null)
Parameters
service
RpcServiceService type to check health for. Defaults to WorkflowService.
options
RpcOptionsRPC options for the check call.
Returns
- See Also