MessageHandler MH Sign Up

InMemoryPump OnMessage Method

O

Definition

Package: MessageHandler.Runtime.AtomicProcessing.Receiving.InMemory
Assembly: MessageHandler.Runtime.AtomicProcessing.Receiving.InMemory
Namespace: MessageHandler.Runtime.AtomicProcessing
Class: InMemoryPump

OnMessage(Func<MessageContext,Task>)

Callback to call whenever a new message arrives.

Parameters

onMessage: System.Func
The callback to invoke

Returns

System.Threading.Tasks.Task

Sign up to our newsletter to get notified about new content and releases

You can unsubscribe at any time by clicking the link in the footer of your emails. I use Mailchimp as my marketing platform. By clicking subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.