blockly > ConnectionDB > init
ConnectionDB.init() method
Initialize a set of connection DBs for a workspace.
Signature:
static init(checker: IConnectionChecker): ConnectionDB[];
Parameters
Parameter | Type | Description |
---|---|---|
checker | IConnectionChecker | The workspace's connection checker, used to decide if connections are valid during a drag. |
Returns:
Array of databases.