Closed jamesmunns closed 3 weeks ago
Currently, there are a couple places that sending can hang:
Users could handle these cases by wrapping all calls to send in timeouts, but this is unsatisfying.
We could pull in embassy-time, but that's another dep we have to manage (and manage versions of).
embassy-time
now_or_never works okay-ish for "host is connected or not", but doesn't work well for sending messages to a full endpoint.
now_or_never
Closed by #55 - we now allow 2ms/frame for timeout
Currently, there are a couple places that sending can hang:
Users could handle these cases by wrapping all calls to send in timeouts, but this is unsatisfying.
We could pull in
embassy-time
, but that's another dep we have to manage (and manage versions of).now_or_never
works okay-ish for "host is connected or not", but doesn't work well for sending messages to a full endpoint.