Exemplo n.º 1
0
 /// <summary>
 /// Asks the actor.
 /// </summary>
 /// <typeparam name="TResult">The type of the result.</typeparam>
 /// <param name="meta">The meta.</param>
 /// <param name="message">The message.</param>
 /// <returns></returns>
 protected Task <TResult> AskActor <TResult>(ActorMetaData meta, object message)
 => SelectActor(meta).Ask <TResult>(message);
Exemplo n.º 2
0
 /// <summary>
 /// Tells the actor.
 /// </summary>
 /// <param name="meta">The meta.</param>
 /// <param name="message">The message.</param>
 protected void TellActor(ActorMetaData meta, object message)
 => SelectActor(meta).Tell(message);