diogenes-electrician
This is an adapter for using electrician components in Diogenes.
addElectricComponents
It adds a set of electric components to 2 Diogenes registry. The first one can be used to start the services in order, the second one to stop them in the opposite order.
var diogenesElectrician = ;var Diogenes = ; var registry = Diogenes;var stopRegistry = Diogenes;// components is an object name->electrician componentdiogenesElectrician;
Then you can start a component using the diogenes "registry" API:
registry;
and stop with:
stopRegistry;
system
It emulates the electrician "system" api:
var diogenesElectrician = ;var system = diogenesElectrician; systemstart { // ...};
and stop:
system;