Click or drag to resize
Akka.NETSpawnactorOfMessage, Returned Method
Wraps provided function with actor behavior. It will be invoked each time, an actor will receive a message.

Namespace:  Akka.FSharp
Assembly:  Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static ActorsCont<Message, Returned> actorOf<Message, Returned>(
	FSharpFunc<Message, Unit> fn,
	ActorsActor<Message> mailbox
)

Parameters

fn
Type: Microsoft.FSharp.CoreFSharpFuncMessage, Unit

[Missing <param name="fn"/> documentation for "M:Akka.FSharp.Spawn.actorOf``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.Unit},Akka.FSharp.Actors.Actor{``0})"]

mailbox
Type: Akka.FSharpActorsActorMessage

[Missing <param name="mailbox"/> documentation for "M:Akka.FSharp.Spawn.actorOf``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.Unit},Akka.FSharp.Actors.Actor{``0})"]

Type Parameters

Message

[Missing <typeparam name="Message"/> documentation for "M:Akka.FSharp.Spawn.actorOf``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.Unit},Akka.FSharp.Actors.Actor{``0})"]

Returned

[Missing <typeparam name="Returned"/> documentation for "M:Akka.FSharp.Spawn.actorOf``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.Unit},Akka.FSharp.Actors.Actor{``0})"]

Return Value

Type: ActorsContMessage, Returned

[Missing <returns> documentation for "M:Akka.FSharp.Spawn.actorOf``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.Unit},Akka.FSharp.Actors.Actor{``0})"]

See Also