Theia API Documentation v1.77.0
    Preparing search index...

    The RPC handler for headless plugins.

    Hierarchy (View Summary)

    Index
    apiFactory: null
    banner: string
    envExt: EnvExtImpl
    loadContainerModule: PluginContainerModuleLoader
    localizationExt: LocalizationExtImpl
    rpc: any
    • Parameters

      • contextPath: string
      • plugin: Plugin

      Returns void

    • Determine whether a plugin should be loaded via ESM import() instead of CommonJS require(). Mirrors Node's own rules:

      • .mjs is always ESM
      • .cjs is always CJS
      • any other extension falls back to the package.json type field

      Parameters

      Returns boolean

    • Returns Promise<void>