Closed reynir closed 1 year ago
this is not an issue, since in awa-lwt, Lwt.pick
is used (and the timeout is cancelled when some other promise is fulfilled).
This is just a minor comment to explain why Lwt.nchoose_split
is used (and not Lwt.pick
) in awa-mirage: I had some issues when the timeout is triggered and there is still something to handle on the network side (which is overridden by the timeout) (e.g. https://github.com/mirage/awa-ssh/pull/35#issuecomment-956005503).
Same issue as in #58.