Register(IInboxHandler)
abstract
public abstract IInbox Register(IInboxHandler handler)Registers a handler.
Parameters
handlerIInboxHandler- The handler.
Returns
This inbox.
public abstract IInbox Register(IInboxHandler handler)handlerIInboxHandlerpublic abstract IInbox Register(IInboxMessageSink sink)sinkIInboxMessageSinkpublic abstract IInbox RegisterWakeup(Func<TimeSpan?> getWakeupDelay)IInboxMessageSink accepted, so the messaging wake-up reactivates the grain while that work remains. getWakeupDelayFunc<TimeSpan?>null when no work is pending; otherwise, the longest acceptable delay before a deactivated grain is reactivated to resume the work. A delay of System.TimeSpan.Zero or less requests a prompt wake-up.