Stay organized with collections
Save and categorize content based on your preferences.
blockly > Procedures > IProcedureMap
Procedures.IProcedureMap interface
Signature:
export interface IProcedureMap extends Map<string, IProcedureModel>
Extends: Map<string, IProcedureModel>
Methods
Method |
Description |
add(proc) |
Adds the given ProcedureModel to the map of procedure models, so that blocks can find it. |
getProcedures() |
Returns all of the procedures stored in this map. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `IProcedureMap` interface manages and stores procedure models, extending the functionality of the built-in `Map` object."],["It provides methods to add new procedures (`add`) and retrieve all stored procedures (`getProcedures`), enabling block interactions with these models."],["Each procedure is identified by a unique string key and associated with an `IProcedureModel` object containing its definition and details."]]],[]]