コード例 #1
0
 public static Func <IEvent, CancellationToken, Task> Writer(this IReliableStateManager sm, Func <IEvent, EventData> serializer)
 => Mailbox.Writer(sm, serializer, "inbox");
コード例 #2
0
 public static Func <Func <IReliableStateManager, ITransaction, IEvent, Task>, CancellationToken, Task> Reader(this IReliableStateManager stateManager, Func <EventData, IEvent> deserializer)
 => Mailbox.Reader(stateManager, deserializer, "outbox");
コード例 #3
0
 public static Func <IReliableStateManager, ITransaction, IEvent, Task> Writer(Func <IEvent, EventData> serializer)
 => Mailbox.WriterWithTransaction(serializer, "inbox");