Exemple #1
0
 public Unit Tell(object message, ProcessId sender, Message.TagSpec tag) =>
 ProcessOp.IO(() =>
 {
     message = Inbox.ValidateMessageType(message, sender);
     return(Inbox.Tell(message, sender));
 });
 public Unit Tell(object message, ProcessId sender, Message.TagSpec tag) =>
 transactionalIO
         ? Inbox.Tell(Inbox.ValidateMessageType(message, sender), sender)
         : ProcessOp.IO(() => Inbox.Tell(Inbox.ValidateMessageType(message, sender), sender));
Exemple #3
0
        public Unit Tell(object message, Schedule schedule, ProcessId sender, Message.TagSpec tag)
        {
            var sessionId = ActorContext.SessionId;

            return(LocalScheduler.Push(schedule, Actor.Id, m => Inbox.Tell(Inbox.ValidateMessageType(m, sender), sender, sessionId), message));
        }
 public Unit Tell(object message, Schedule schedule, ProcessId sender, Message.TagSpec tag) =>
 LocalScheduler.Push(schedule, Actor.Id, m => Inbox.Tell(Inbox.ValidateMessageType(m, sender), sender), message);
Exemple #5
0
 public Unit Tell(object message, ProcessId sender, Message.TagSpec tag) =>
 Inbox.Tell(message, sender);