Function setGlobalAccessHandler

  • Installs or uninstalls a handler that is used to resolve attempts to access non-existent global variables.

    Useful for implementing a REPL where unknown identifiers may be fetched lazily from a database.

    Parameters

    • handler: null | GlobalAccessHandler

      The handler to install, or null to uninstall a previously installed handler.

    Returns void

Generated using TypeDoc