Skip to main content

Home > blockly > ConnectionDB > init

ConnectionDB.init() method

Initialize a set of connection DBs for a workspace.

Signature:

static init(checker: IConnectionChecker): ConnectionDB[];

Parameters

ParameterTypeDescription
checkerIConnectionCheckerThe workspace's connection checker, used to decide if connections are valid during a drag.

Returns:

ConnectionDB[]

Array of databases.