js-libp2p-gossipsub icon indicating copy to clipboard operation
js-libp2p-gossipsub copied to clipboard

Track publish time after messages are sent

Open twoeths opened this issue 1 year ago • 0 comments

Description

Right now it's not possible to track when messages are sent, although there is a delay at gossip side the publish() function returns immediately, see https://github.com/ChainSafe/lodestar/issues/6596

Solution

Find a way to implement async OutboundStream.push() which only returns when messages are really sent

twoeths avatar Mar 27 '24 09:03 twoeths