Skip to content

omphalos.event.ioConnect

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

This event is raised whenever the asset has been connected to the back end system and the synchronization of storage has been completed.

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.