relaycorp / relaynet-cogrpc-js

JavaScript library implementing the CogRPC binding
https://docs.relaycorp.tech/relaynet-cogrpc-js/
MIT License
1 stars 0 forks source link

Cargo delivery: Subsequent cargoes may not be delivered if the iterable isn't quick enough #243

Open gnarea opened 3 years ago

gnarea commented 3 years ago

We're currently ending the connection when all deliveries have been acknowledged, without checking if all cargoes were sent:

https://github.com/relaycorp/relaynet-cogrpc-js/blob/121baafb5c5f88aa203a368972a6579a361ff6da/src/lib/client.ts#L108-L110

gnarea commented 2 years ago

See https://github.com/relaycorp/it-duplex-ack-js