Skip to content

omphalos.event.ioDisconnect

omphalos.event.ioDisonnect(() => {
omphalos.log.debug(`asset ${omphalos.asset.name} has disconnected`);
})

This event is raised whenever the asset has been disconnected from the back end system.

Invoking this function is equivalent to a call to omphalos.event.on(), and thus returns a function you can use to cancel the event listener registration as needed.