How to use the @node-red/runtime.events function in @node-red/runtime

To help you get started, we’ve selected a few @node-red/runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-red / node-red / packages / node_modules / node-red / lib / red.js View on Github external
* runtime. The details of this API remain undocumented as they should not
     * be used directly.
     *
     * Most administrative actions should be performed use the runtime api
     * under [node-red.runtime]{@link node-red.runtime}.
     *
     * @memberof node-red
     */
    get nodes() { return runtime._.nodes },

    /**
     * Runtime events emitter
     * @see @node-red/runtime_events
     * @memberof node-red
     */
    events: runtime.events,

    /**
     * This provides access to the internal settings module of the
     * runtime.
     *
     * @memberof node-red
     */
    get settings() { return runtime._.settings },


    /**
     * Get the version of the runtime
     * @return {String} - the runtime version
     * @function
     * @memberof node-red
     */

@node-red/runtime

@node-red/runtime ====================

Apache-2.0
Latest version published 26 days ago

Package Health Score

95 / 100
Full package analysis

Similar packages