js-libp2p-gossipsub
js-libp2p-gossipsub copied to clipboard
Track publish time after messages are sent
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