| ActorSelectionResolveOne Method |
Resolves the
IActorRef matching this selection.
The result is returned as a Task that is completed with the
IActorRef
if such an actor exists. It is completed with failure
ActorNotFoundException if
no such actor exists or the identification didn't complete within the supplied
timeout.
Under the hood it talks to the actor to verify its existence and acquire its
IActorRef
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public Task<IActorRef> ResolveOne(
TimeSpan timeout
)
member ResolveOne :
timeout : TimeSpan -> Task<IActorRef>
Parameters
- timeout
- Type: SystemTimeSpan
The amount of time to wait while resolving the selection before terminating the operation and generating an error.
Return Value
Type:
TaskIActorRefTBD
Exceptions Exception | Condition |
---|
ActorNotFoundException |
This exception is thrown if no such actor exists or the identification didn't complete within the supplied timeout.
|
See Also