示例#1
0
        public virtual Task Tell(object message)
        {
            Requires.NotNull(message, nameof(message));

            return(invoker.Send <object>(Path, message, async x =>
            {
                await endpoint.ReceiveVoid(x);
                return null;
            }));
        }
示例#2
0
 public virtual Task <TResult> Send <TResult>(ActorPath actor, object message, Func <object, Task <object> > invoke) =>
 next.Send <TResult>(actor, message, invoke);