blockly > Procedures > ObservableProcedureMap > add

Procedures.ObservableProcedureMap.add() method

Adds the given ProcedureModel to the map of procedure models, so that blocks can find it.

Signature:

add(proc: IProcedureModel): this;

Parameters

Parameter Type Description
proc IProcedureModel

Returns:

this