Click or drag to resize
Akka.NETSpawnactorOf2Message, 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.42 (1.2.3.42)
Syntax
public static ActorsCont<Message, Returned> actorOf2<Message, Returned>(
	FSharpFunc<ActorsActor<Message>, FSharpFunc<Message, Unit>> fn,
	ActorsActor<Message> mailbox
)

Parameters

fn
Type: Microsoft.FSharp.CoreFSharpFuncActorsActorMessage, FSharpFuncMessage, Unit

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

See Also