| FSharpEventsourcedCommand, Event, StateAsyncPersistEvent Method |
Asynchronously persists sequence of events in the event journal. Use second argument
to define function which will update state depending on events.
Namespace:
Akka.Persistence
Assembly:
Akka.Persistence.FSharp (in Akka.Persistence.FSharp.dll) Version: 0.0.0.0
Syntax void AsyncPersistEvent(
FSharpFunc<Event, State> param0,
IEnumerable<Event> param1
)
abstract AsyncPersistEvent :
param0 : FSharpFunc<'Event, 'State> *
param1 : IEnumerable<'Event> -> unit
Parameters
- param0
- Type: Microsoft.FSharp.CoreFSharpFuncEvent, State
[Missing <param name="param0"/> documentation for "M:Akka.Persistence.FSharp.Eventsourced`3.AsyncPersistEvent(Microsoft.FSharp.Core.FSharpFunc{`1,`2},System.Collections.Generic.IEnumerable{`1})"]
- param1
- Type: System.Collections.GenericIEnumerableEvent
[Missing <param name="param1"/> documentation for "M:Akka.Persistence.FSharp.Eventsourced`3.AsyncPersistEvent(Microsoft.FSharp.Core.FSharpFunc{`1,`2},System.Collections.Generic.IEnumerable{`1})"]
See Also