Example #1
0
 public static Task <T> Ask <T>(this ActorRefProvider provider, Func <IActorRef, Object> messageFactory, TimeSpan?timeout, CancellationToken cancellationToken)
 {
     return(provider.ActorRef.Ask <T>(messageFactory, timeout, cancellationToken));
 }
Example #2
0
 public static Task <T> Ask <T>(this ActorRefProvider provider, Object message, CancellationToken cancellationToken)
 {
     return(provider.ActorRef.Ask <T>(message, cancellationToken));
 }
Example #3
0
 public static Task <Object> Ask(this ActorRefProvider provider, Object message, TimeSpan?timeout, CancellationToken cancellationToken)
 {
     return(provider.ActorRef.Ask(message, timeout, cancellationToken));
 }
Example #4
0
 public static Task <T> Ask <T>(this ActorRefProvider provider, Object message, TimeSpan?timeout = null)
 {
     return(provider.ActorRef.Ask <T>(message, timeout));
 }
Example #5
0
 public static void Tell(this ActorRefProvider provider, Object message)
 {
     provider.ActorRef.Tell(message, ActorRefs.NoSender);
 }