Function registerInstance

Registers a JavaScript instance, so it can be retrieved later by C code.

  • Parameters

    • type: InstanceType

      The category of the instance (e.g., Provider).

    • id: number

      The unique numeric ID assigned to this instance.

    • obj: any

      The JavaScript object instance to register.

    Returns void