NdkResponse gives the events but not what each relay did with the request.
A client cannot tell these three apart:
- the relay sent EOSE and has nothing more to give,
- the relay never answered and the request timed out,
- the request was never sent, because no socket was open.
Proposal: expose the per relay outcome on NdkResponse, for instance
/// Resolves with the outcome of the request on each relay it was sent to.
Future<Map<String, RelayRequestOutcome>> get relayOutcomes;
enum RelayRequestOutcome { eose, closed, timedOut, notSent }
NdkResponsegives the events but not what each relay did with the request.A client cannot tell these three apart:
Proposal: expose the per relay outcome on
NdkResponse, for instance