Ask Pattern
protoactor docs
Ask Pattern The ask pattern provides request–response semantics between actors. An actor sends a message and waits for a reply, typically by using a future or awaiting a Task.
Basic Flow sequenceDiagram participant Caller participant Target Caller->>Target: Request Target-->>Caller: Response In Proto.Actor you can use Context.Request when the sender expects the recipient to know who sent the message. For an awaitable response, Context.RequestAsync<T> or PID.RequestAsync<T> returns a Task<T> that completes when the reply arrives.
Read more...