Stay organized with collections Save and categorize content based on your preferences.

blockly > Procedures > getCallers

Procedures.getCallers() function

Find all the callers of a named procedure.

Signature:

export declare function getCallers(name: string, workspace: Workspace): Block[];

Parameters

Parameter Type Description
name string Name of procedure.
workspace Workspace The workspace to find callers in.

Returns:

Block[]

Array of caller blocks.