Delegate UnhandledEventCallback<TInstance>
- Namespace
- Automatonymous
- Assembly
- Automatonymous.dll
Callback for an unhandled event in the state machine
public delegate Task UnhandledEventCallback<in TInstance>(UnhandledEventContext<in TInstance> context)
Parameters
context
UnhandledEventContext<TInstance>The event context
Returns
Type Parameters
TInstance
The state machine instance type
Constructors
UnhandledEventCallback(object, nint)
public UnhandledEventCallback(object @object, nint method)
Parameters
Methods
BeginInvoke(UnhandledEventContext<TInstance>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(UnhandledEventContext<in TInstance> context, AsyncCallback callback, object @object)
Parameters
context
UnhandledEventContext<TInstance>callback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual Task EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(UnhandledEventContext<TInstance>)
public virtual Task Invoke(UnhandledEventContext<in TInstance> context)
Parameters
context
UnhandledEventContext<TInstance>