|EventsourcedDeferAsyncTEvent Method |
Defer the handler
execution until all pending handlers have been executed.
Allows to define logic within the actor, which will respect the invocation-order-guarantee
in respect to PersistAsyncTEvent(TEvent, ActionTEvent)
That is, if PersistAsyncTEvent(TEvent, ActionTEvent)
was invoked before
, the corresponding handlers will be
invoked in the same order as they were registered in.
This call will NOT result in evt
being persisted, use
instead if the given
should be possible to replay.
If there are no pending persist handler calls, the handler
will be called immediately.
If persistence of an earlier event fails, the persistent actor will stop, and the
will not be run.
Akka.Persistence (in Akka.Persistence.dll) Version: 188.8.131.52 (184.108.40.206)
public void DeferAsync<TEvent>(
member DeferAsync :
evt : 'TEvent *
handler : Action<'TEvent> -> unit
- Type: TEvent
- Type: SystemActionTEvent