Delegate MessageHandler
The delegate representing the Handle method of the IBehavior.
Assembly: Silverback.Core.dll
Syntax
public delegate ValueTask<IReadOnlyCollection<object?>> MessageHandler(object message)
Parameters
| Type |
Name |
Description |
| object |
message |
The message being published.
|
Returns
Constructors
MessageHandler(object, nint)
The delegate representing the Handle method of the IBehavior.
Declaration
public MessageHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(object, AsyncCallback, object)
The delegate representing the Handle method of the IBehavior.
Declaration
public virtual IAsyncResult BeginInvoke(object message, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
The delegate representing the Handle method of the IBehavior.
Declaration
public virtual ValueTask<IReadOnlyCollection<object?>> EndInvoke(IAsyncResult result)
Parameters
Returns
Invoke(object)
The delegate representing the Handle method of the IBehavior.
Declaration
public virtual ValueTask<IReadOnlyCollection<object?>> Invoke(object message)
Parameters
| Type |
Name |
Description |
| object |
message |
|
Returns