Click or drag to resize
Akka.NETFSharpspawnPersistCommand, Event, State Method
Spawns a persistent actor instance.

Namespace:  Akka.Persistence
Assembly:  Akka.Persistence.FSharp (in Akka.Persistence.FSharp.dll) Version: 0.0.0.0
Syntax
public static IActorRef spawnPersist<Command, Event, State>(
	IActorRefFactory actorFactory,
	string name,
	FSharpAggregate<Command, Event, State> aggregate,
	FSharpList<SpawnSpawnOption> options
)

Parameters

actorFactory
Type: Akka.ActorIActorRefFactory
Object responsible for actor instantiation.
name
Type: SystemString
Identifies uniquely current actor across different incarnations. It's necessary to identify it's event source.
aggregate
Type: Akka.PersistenceFSharpAggregateCommand, Event, State
Aggregate containing state of the actor, but also an event- and command-handling behavior.
options
Type: Microsoft.FSharp.CollectionsFSharpListSpawnSpawnOption
Additional spawning options.

Type Parameters

Command

[Missing <typeparam name="Command"/> documentation for "M:Akka.Persistence.FSharp.spawnPersist``3(Akka.Actor.IActorRefFactory,System.String,Akka.Persistence.FSharp.Aggregate{``0,``1,``2},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

Event

[Missing <typeparam name="Event"/> documentation for "M:Akka.Persistence.FSharp.spawnPersist``3(Akka.Actor.IActorRefFactory,System.String,Akka.Persistence.FSharp.Aggregate{``0,``1,``2},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

State

[Missing <typeparam name="State"/> documentation for "M:Akka.Persistence.FSharp.spawnPersist``3(Akka.Actor.IActorRefFactory,System.String,Akka.Persistence.FSharp.Aggregate{``0,``1,``2},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

Return Value

Type: IActorRef

[Missing <returns> documentation for "M:Akka.Persistence.FSharp.spawnPersist``3(Akka.Actor.IActorRefFactory,System.String,Akka.Persistence.FSharp.Aggregate{``0,``1,``2},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

See Also