public Task<ResponseEnvelope> ReceiveReentrant(RequestEnvelope envelope) { #if DEBUG CallContext.LogicalSetData("LastMessageReceivedReentrant", envelope.Message); #endif return Receive(envelope); }
public Task ReceiveReentrantVoid(RequestEnvelope envelope) { #if DEBUG CallContext.LogicalSetData("LastMessageReceivedReentrantVoid", envelope.Message); #endif return ReceiveVoid(envelope); }
public async Task<ResponseEnvelope> Receive(RequestEnvelope envelope) { if (actor == null) await Activate(ActorPath.Deserialize(envelope.Target)); Debug.Assert(actor != null); KeepAlive(); return new ResponseEnvelope(await actor.OnReceive(envelope.Message)); }
public Task ReceiveVoid(RequestEnvelope envelope) { KeepAlive(); return actor.OnReceive(envelope.Message); }
public async Task<ResponseEnvelope> Receive(RequestEnvelope envelope) { KeepAlive(); return new ResponseEnvelope(await actor.OnReceive(envelope.Message)); }
public Task ReceiveVoid(RequestEnvelope envelope) { KeepAlive(); return(actor.OnReceive(envelope.Message)); }
public async Task <ResponseEnvelope> Receive(RequestEnvelope envelope) { KeepAlive(); return(new ResponseEnvelope(await actor.OnReceive(envelope.Message))); }