Connect

Introduced in 3.0.0 as Connector Renamed to Connect in 4.0.0

Stability: 2 - Stable

const Connect = require('kado/lib/Connect')

This library is the repository for registering external connectors into a Kado System.

Class: Connect

static Connect.each(that, name, options, method)

Note: will throw an error when either the input is incomplete or the methods cannot be called.

static Connect.getInstance()

Connect.constructor()

Connect.addEngine(name, instance)

Connect.checkEngine(name)

Connect.activateEngine(name)

Connect.deactivateEngine()

Connect.getActiveEngine()

Connect.getEngine(name)

Connect.removeEngine(name)

Connect.allEngines()

Connect.listEngines()

Connect.eachEngine(fn)

Class: ConnectEngine

Used to manage multiple Connect engines.

ConnectEngine.constructor()

ConnectEngine.setEngine(instance)

ConnectEngine.resetEngine()

ConnectEngine.checkEngine()

Throws an error when no engine is available. Or no actionable method passed.

ConnectEngine.getEngine()