• 参数

    • callback: (() => void | Promise<void>)

      The initialization function of the module.

        • (): void | Promise<void>
        • 返回 void | Promise<void>

    返回 void

    Execute custom logic after engine initialization. All registered callbacks are executed in the order of registration.

    在引擎初始化后执行自定义逻辑。所有注册的回调按注册顺序依次执行。