This event notifies listeners that the node has started
helia.addEventListener('start', (event) => { console.info(event.detail.libp2p.isStarted()) // true}) Copy
helia.addEventListener('start', (event) => { console.info(event.detail.libp2p.isStarted()) // true})
This event notifies listeners that the node has stopped
helia.addEventListener('stop', (event) => { console.info(event.detail.libp2p.isStarted()) // false}) Copy
helia.addEventListener('stop', (event) => { console.info(event.detail.libp2p.isStarted()) // false})
This event notifies listeners that the node has started