Example #1
0
 public static void SendMsg(this Actor target, ActorMsg msg)
 {
     target.mailbox.SendAsync(msg);
 }
Example #2
0
 protected virtual async Task ReceiveMsg(ActorMsg msg)           //在Actor这个基类中什么都没做
 {
     await Task.FromResult(default(object));
 }