Zeebe C# Client 2.7.0
C# Client to communicate with an Zeebe Gateway
|
The is a general final command step for the fluent command API, which defines the send method. More...
Public Member Functions | |
Task< T > | Send (TimeSpan? timeout=null, CancellationToken token=default) |
Sends the command to the Zeebe broker. This operation is asynchronous. In case of success, the task returns the event that was generated by the Zeebe broker in response to the command. | |
Task< T > | Send (CancellationToken cancellationToken) |
Convenient method, which delegates to Send(TimeSpan? timeout = null, CancellationToken token = default) . | |
The is a general final command step for the fluent command API, which defines the send method.
T | the type of the command response. |
Task< T > Zeebe.Client.Api.Commands.IFinalCommandStep< T >.Send | ( | CancellationToken | cancellationToken | ) |
Convenient method, which delegates to Send(TimeSpan? timeout = null, CancellationToken token = default)
.
cancellationToken | the token that manages the cancellation of the request. |
Task< T > Zeebe.Client.Api.Commands.IFinalCommandStep< T >.Send | ( | TimeSpan? | timeout = null , |
CancellationToken | token = default |
||
) |
Sends the command to the Zeebe broker. This operation is asynchronous. In case of success, the task returns the event that was generated by the Zeebe broker in response to the command.
Use await ...Send();
to wait until the response is available.
timeout | the time span after request should be timed out. |
token | the token that manages the cancellation of the request. |