Click or drag to resize
Akka.NETSpawnspawnObjOpta Method
Spawns an actor using specified actor quotation, with custom spawn option settings. The actor can only be used locally.

Namespace:  Akka.FSharp
Assembly:  Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static IActorRef spawnObjOpt<a>(
	IActorRefFactory actorFactory,
	string name,
	FSharpExpr<FSharpFunc<Unit, a>> f,
	FSharpList<SpawnSpawnOption> options
)
where a : ActorBase

Parameters

actorFactory
Type: Akka.ActorIActorRefFactory
Either actor system or parent actor
name
Type: SystemString
Name of spawned child actor
f
Type: Microsoft.FSharp.QuotationsFSharpExprFSharpFuncUnit, a
Used to create a new instance of the actor
options
Type: Microsoft.FSharp.CollectionsFSharpListSpawnSpawnOption
List of options used to configure actor creation

Type Parameters

a

[Missing <typeparam name="a"/> documentation for "M:Akka.FSharp.Spawn.spawnObjOpt``1(Akka.Actor.IActorRefFactory,System.String,Microsoft.FSharp.Quotations.FSharpExpr{Microsoft.FSharp.Core.FSharpFunc{Microsoft.FSharp.Core.Unit,``0}},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

Return Value

Type: IActorRef

[Missing <returns> documentation for "M:Akka.FSharp.Spawn.spawnObjOpt``1(Akka.Actor.IActorRefFactory,System.String,Microsoft.FSharp.Quotations.FSharpExpr{Microsoft.FSharp.Core.FSharpFunc{Microsoft.FSharp.Core.Unit,``0}},Microsoft.FSharp.Collections.FSharpList{Akka.FSharp.Spawn.SpawnOption})"]

See Also