public void Persist <TState, TSource>(StateSources <TState, TSource> stateSources, Metadata metadata, long updateId, IPersistResultInterest interest, object? @object) where TState : StateObject where TSource : ISource { if (!actor.IsStopped) { Action <IObjectStore> cons1567165775 = __ => __.Persist(stateSources, metadata, updateId, interest, @object); if (mailbox.IsPreallocated) { mailbox.Send(actor, cons1567165775, null, PersistRepresentation16); } else { mailbox.Send(new LocalMessage <IObjectStore>(actor, cons1567165775, PersistRepresentation16)); } } else { actor.DeadLetters?.FailedDelivery(new DeadLetter(actor, PersistRepresentation16)); } }
public void Persist <TState, TSource>(StateSources <TState, TSource> stateSources, IPersistResultInterest interest, object? @object) where TState : StateObject where TSource : ISource { if (!actor.IsStopped) { Action <IObjectStore> cons1425279528 = __ => __.Persist(stateSources, interest, @object); if (mailbox.IsPreallocated) { mailbox.Send(actor, cons1425279528, null, PersistRepresentation11); } else { mailbox.Send(new LocalMessage <IObjectStore>(actor, cons1425279528, PersistRepresentation11)); } } else { actor.DeadLetters?.FailedDelivery(new DeadLetter(actor, PersistRepresentation11)); } }
public void Persist <TState, TSource>(StateSources <TState, TSource> stateSources, long updateId, IPersistResultInterest interest) where TState : StateObject where TSource : ISource { if (!actor.IsStopped) { Action <IObjectStore> cons440866163 = __ => __.Persist(stateSources, updateId, interest); if (mailbox.IsPreallocated) { mailbox.Send(actor, cons440866163, null, PersistRepresentation13); } else { mailbox.Send(new LocalMessage <IObjectStore>(actor, cons440866163, PersistRepresentation13)); } } else { actor.DeadLetters?.FailedDelivery(new DeadLetter(actor, PersistRepresentation13)); } }
public void Persist <TState, TSource>(StateSources <TState, TSource> stateSources, Metadata metadata, IPersistResultInterest interest) where TState : StateObject where TSource : ISource { if (!actor.IsStopped) { Action <IObjectStore> cons297809971 = __ => __.Persist(stateSources, metadata, interest); if (mailbox.IsPreallocated) { mailbox.Send(actor, cons297809971, null, PersistRepresentation10); } else { mailbox.Send(new LocalMessage <IObjectStore>(actor, cons297809971, PersistRepresentation10)); } } else { actor.DeadLetters?.FailedDelivery(new DeadLetter(actor, PersistRepresentation10)); } }