Click or drag to resize

TemporalClientWaitForWorkflowStartAsync Method

Waits for a resonable period of time for Temporal to start a workflow.

Namespace:  Neon.Temporal
Assembly:  Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntax
public Task WaitForWorkflowStartAsync(
	WorkflowExecution execution,
	string namespace = null,
	Nullable<TimeSpan> maxWait = null
)

Parameters

execution
Type: Neon.TemporalWorkflowExecution
Identifies the target workflow.
namespace (Optional)
Type: SystemString
Optional namespace.
maxWait (Optional)
Type: SystemNullableTimeSpan
Optionally overrides MaxWorkflowWaitUntilRunningSeconds to specify a custom maximum wait time. The default setting is 30 seconds.

Return Value

Type: Task
The tracking Task.
Exceptions
ExceptionCondition
EntityNotExistsExceptionThrown if the target workflow does not exist.
SyncSignalExceptionThrown if the workflow is closed or the signal could not be executed for another reason.
TemporalTimeoutExceptionThrown when the workflow did not start running within a reasonable period of time.
Remarks
This method can be handy when writing non-emulated unit tests.
See Also