示例#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));
 }
示例#2
0
 public static Task <T> Ask <T>(this ActorRefProvider provider, Object message, CancellationToken cancellationToken)
 {
     return(provider.ActorRef.Ask <T>(message, cancellationToken));
 }
示例#3
0
 public static Task <Object> Ask(this ActorRefProvider provider, Object message, TimeSpan?timeout, CancellationToken cancellationToken)
 {
     return(provider.ActorRef.Ask(message, timeout, cancellationToken));
 }
示例#4
0
 public static Task <T> Ask <T>(this ActorRefProvider provider, Object message, TimeSpan?timeout = null)
 {
     return(provider.ActorRef.Ask <T>(message, timeout));
 }
示例#5
0
 public static void Tell(this ActorRefProvider provider, Object message)
 {
     provider.ActorRef.Tell(message, ActorRefs.NoSender);
 }