Events interface.
Subscribe to events using on and unsubscribe using off, alternatively you can use addListener and removeListener.
on
off
addListener
removeListener
program.on("fileSystem:local-change", ({ path, root }) => { console.log("The file system has changed locally 🔔") console.log("Changed path:", path) console.log("New data root CID:", root)})program.off("fileSystem:publish")
Generated using TypeDoc
Events interface.
Subscribe to events using
on
and unsubscribe usingoff
, alternatively you can useaddListener
andremoveListener
.