import { a as FlowGraphEventBlock } from './KHR_interactivity-BGk_Crki.esm.js';
import { R as RegisterClass } from './index-BvJBnIUK.esm.js';
import './declarationMapper-CyxdrUFP.esm.js';
import './objectModelMapping-BtiDAwYm.esm.js';

/** This file must only contain pure code and pure imports */
/**
 * Block that triggers when a scene is ready.
 */
class FlowGraphSceneReadyEventBlock extends FlowGraphEventBlock {
    constructor() {
        super(...arguments);
        this.initPriority = -1;
        this.type = "SceneReady" /* FlowGraphEventType.SceneReady */;
    }
    _executeEvent(context, _payload) {
        this._execute(context);
        return true;
    }
    _preparePendingTasks(context) {
        // no-op
    }
    _cancelPendingTasks(context) {
        // no-op
    }
    /**
     * @returns class name of the block.
     */
    getClassName() {
        return "FlowGraphSceneReadyEventBlock" /* FlowGraphBlockNames.SceneReadyEvent */;
    }
}
let _Registered = false;
/**
 * Register side effects for flowGraphSceneReadyEventBlock.
 * Safe to call multiple times; only the first call has an effect.
 */
function RegisterFlowGraphSceneReadyEventBlock() {
    if (_Registered) {
        return;
    }
    _Registered = true;
    RegisterClass("FlowGraphSceneReadyEventBlock" /* FlowGraphBlockNames.SceneReadyEvent */, FlowGraphSceneReadyEventBlock);
}

/**
 * Re-exports pure implementation and applies runtime side effects.
 * Import flowGraphSceneReadyEventBlock.pure for tree-shakeable, side-effect-free usage.
 */
RegisterFlowGraphSceneReadyEventBlock();

export { FlowGraphSceneReadyEventBlock, RegisterFlowGraphSceneReadyEventBlock };
//# sourceMappingURL=flowGraphSceneReadyEventBlock-BYO5e5TF.esm.js.map
