Click or drag to resize
Akka.NETActorsAskResponse Method
Sends a message to an actor and asynchronously awaits for a response back until timeout occur.

Namespace:  Akka.FSharp
Assembly:  Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static FSharpAsync<Response> Ask<Response>(
	ICanTell this,
	Object msg,
	TimeSpan timeout
)

Parameters

this
Type: Akka.ActorICanTell

[Missing <param name="this"/> documentation for "M:Akka.FSharp.Actors.ICanTell.Ask``1(Akka.Actor.ICanTell,System.Object,System.TimeSpan)"]

msg
Type: SystemObject

[Missing <param name="msg"/> documentation for "M:Akka.FSharp.Actors.ICanTell.Ask``1(Akka.Actor.ICanTell,System.Object,System.TimeSpan)"]

timeout
Type: SystemTimeSpan

[Missing <param name="timeout"/> documentation for "M:Akka.FSharp.Actors.ICanTell.Ask``1(Akka.Actor.ICanTell,System.Object,System.TimeSpan)"]

Type Parameters

Response

[Missing <typeparam name="Response"/> documentation for "M:Akka.FSharp.Actors.ICanTell.Ask``1(Akka.Actor.ICanTell,System.Object,System.TimeSpan)"]

Return Value

Type: FSharpAsyncResponse

[Missing <returns> documentation for "M:Akka.FSharp.Actors.ICanTell.Ask``1(Akka.Actor.ICanTell,System.Object,System.TimeSpan)"]

See Also