Delegate StateMachineAsyncCondition<TSaga, TMessage>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Filters activities based on the async conditional statement
public delegate Task<bool> StateMachineAsyncCondition<TSaga, in TMessage>(BehaviorContext<TSaga, in TMessage> context) where TSaga : class, ISaga where TMessage : class
Parameters
context
BehaviorContext<TSaga, TMessage>
Returns
Type Parameters
TSaga
TMessage
Constructors
StateMachineAsyncCondition(object, nint)
public StateMachineAsyncCondition(object @object, nint method)
Parameters
Methods
BeginInvoke(BehaviorContext<TSaga, TMessage>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(BehaviorContext<TSaga, in TMessage> context, AsyncCallback callback, object @object)
Parameters
context
BehaviorContext<TSaga, TMessage>callback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual Task<bool> EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(BehaviorContext<TSaga, TMessage>)
public virtual Task<bool> Invoke(BehaviorContext<TSaga, in TMessage> context)
Parameters
context
BehaviorContext<TSaga, TMessage>