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