RegisterWakeup(Func<TimeSpan?>)
abstract
public abstract IInbox RegisterWakeup(Func<TimeSpan?> getWakeupDelay) Registers a callback which reports durable work held outside the inbox, such as messages which an
IInboxMessageSink accepted, so the messaging wake-up reactivates the grain while that work remains. Parameters
getWakeupDelayFunc<TimeSpan?>- Returns
nullwhen no work is pending; otherwise, the longest acceptable delay before a deactivated grain is reactivated to resume the work. A delay ofSystem.TimeSpan.Zeroor less requests a prompt wake-up.
Returns
This inbox.
