 | 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
Syntaxpublic Task WaitForWorkflowStartAsync(
WorkflowExecution execution,
string namespace = null,
Nullable<TimeSpan> maxWait = null
)
Public Function WaitForWorkflowStartAsync (
execution As WorkflowExecution,
Optional namespace As String = Nothing,
Optional maxWait As Nullable(Of TimeSpan) = Nothing
) As Task
public:
Task^ WaitForWorkflowStartAsync(
WorkflowExecution^ execution,
String^ namespace = nullptr,
Nullable<TimeSpan> maxWait = nullptr
)
member WaitForWorkflowStartAsync :
execution : WorkflowExecution *
?namespace : string *
?maxWait : Nullable<TimeSpan>
(* Defaults:
let _namespace = defaultArg namespace null
let _maxWait = defaultArg maxWait null
*)
-> Task
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:
TaskThe tracking
Task.
Exceptions
Remarks
This method can be handy when writing non-emulated unit tests.
See Also