Closed ibc closed 11 months ago
I'm closing this PR since, as @jmillan said, adding addSubchannel()
and emoveSubchannel()
makes more sense. Also, in other async methods (such as pause()
) we don't update this.paused
until we get the response fro the worker, so same must be done in setSubchannels()
.
Details
DataConsumer
in worker sosubchannels
will be always shown in numerical order (no need to sort them later in Node/Rust layer).dataConsumer.subchannels
be immediately (and optimistically) updated beforedataChannel.setSubchannels()
completes.