<@U3ZLHBTLG> You can't have an actor (maybe with a...
# coroutines
d
@louiscad You can't have an actor (maybe with a buffer or conflated) receiving all requests, and handling what to do if there's no connection?
l
@dave08 The goal is to wait until the connection can be restored. If the connection can't be made, all the coroutines are suspended, until the connection is explicitly closed with the appropriate method
d
If you use
send
on the actor, the caller is suspended until the actor is ready to handle it... but it really depends on what exactly you are trying to do... this is one example of how to handle even concurrent requests to your service, and possibly keep a buffer of multiple requests before suspention...