{
  "id": "@typed/template#MixedRenderQueue",
  "canonicalId": "@typed/template#MixedRenderQueue",
  "symbol": {
    "id": "@typed/template#MixedRenderQueue",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "MixedRenderQueue",
    "kind": "class",
    "signatures": [
      "export declare class MixedRenderQueue extends RenderQueue {\n    constructor(durationAllowed?: number);\n    readonly add: (key: unknown, task: () => void, dispose: () => void, priority: number) => Disposable;\n    [Symbol.dispose]: () => void;\n}"
    ],
    "summary": "A composite RenderQueue that directs tasks to different queues based on their priority.\n- High priority: Sync\n- Medium priority: RAF (or setTimeout fallback)\n- Low priority: IdleCallback (or setTimeout fallback)",
    "sections": {
      "Why": "One default queue adapts to platform capabilities while preserving explicit\npriority semantics.",
      "Ownership and lifetime": "The instance exclusively owns its synchronous, frame/timer, and idle/timer\nchild queues. Disposing it disposes all three and their pending callbacks.",
      "Constructor": "Creates a capability-adaptive queue with one visual-work budget.",
      "Constructor: Why": "Selects frame/idle APIs when present and timers otherwise.",
      "Constructor: Ownership and lifetime": "The instance owns all three child queues until disposal.",
      "Property: [[computed:[Symbol.dispose]]]": "Disposes every child scheduler and its pending entries.",
      "Property: [[computed:[Symbol.dispose]]]: Why": "Mixed scheduling remains one deterministic resource boundary.",
      "Property: [[computed:[Symbol.dispose]]]: Ownership and lifetime": "Ends the lifetime of all pending sync/frame/timer/idle work.",
      "Property: add": "Routes one keyed task to the scheduler selected by its numeric priority.",
      "Property: add: Why": "Callers choose urgency without knowing browser capability details.",
      "Property: add: Ownership and lifetime": "The selected child queue owns the entry until execution or disposal."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { MixedRenderQueue, RenderPriority } from \"@typed/template/RenderQueue\"\n\nconst queue = new MixedRenderQueue()\n\n// Tasks are automatically routed to the appropriate queue\nqueue.add(\"sync\", () => {}, () => {}, RenderPriority.Sync)\nqueue.add(\"raf\", () => {}, () => {}, RenderPriority.Raf(5))\nqueue.add(\"idle\", () => {}, () => {}, RenderPriority.Idle(1))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/RenderQueue.ts",
      "line": 420
    },
    "since": "1.0.0",
    "category": "Mixed scheduling"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#MixedRenderQueue",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "MixedRenderQueue",
    "qualifiedName": "MixedRenderQueue",
    "declarationKey": "declaration:3ebb4a135230bdedce9a23e4",
    "family": "class",
    "signatures": [
      "export declare class MixedRenderQueue extends RenderQueue {\n    constructor(durationAllowed?: number);\n    readonly add: (key: unknown, task: () => void, dispose: () => void, priority: number) => Disposable;\n    [Symbol.dispose]: () => void;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 420,
          "column": 1
        },
        "end": {
          "line": 502,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/RenderQueue.d.ts",
        "start": {
          "line": 337,
          "column": 5
        },
        "end": {
          "line": 337,
          "column": 43
        }
      },
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 497,
          "column": 3
        },
        "end": {
          "line": 501,
          "column": 5
        }
      },
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 462,
          "column": 3
        },
        "end": {
          "line": 478,
          "column": 5
        }
      }
    ],
    "aliases": [
      "@typed/template/RenderQueue#MixedRenderQueue"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:3ebb4a135230bdedce9a23e4",
    "name": "MixedRenderQueue",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class MixedRenderQueue extends RenderQueue {\n    constructor(durationAllowed?: number);\n    readonly add: (key: unknown, task: () => void, dispose: () => void, priority: number) => Disposable;\n    [Symbol.dispose]: () => void;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/RenderQueue.ts",
            "start": {
              "line": 420,
              "column": 1
            },
            "end": {
              "line": 502,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(durationAllowed?: number);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/RenderQueue.d.ts",
            "start": {
              "line": 337,
              "column": 5
            },
            "end": {
              "line": 337,
              "column": 43
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "[Symbol.dispose]: () => void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/RenderQueue.ts",
            "start": {
              "line": 497,
              "column": 3
            },
            "end": {
              "line": 501,
              "column": 5
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly add: (key: unknown, task: () => void, dispose: () => void, priority: number) => Disposable;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/RenderQueue.ts",
            "start": {
              "line": 462,
              "column": 3
            },
            "end": {
              "line": 478,
              "column": 5
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class MixedRenderQueue extends RenderQueue {\n    constructor(durationAllowed?: number);\n    readonly add: (key: unknown, task: () => void, dispose: () => void, priority: number) => Disposable;\n    [Symbol.dispose]: () => void;\n}"
    ],
    "typeParameters": [],
    "summary": "A composite RenderQueue that directs tasks to different queues based on their priority.\n- High priority: Sync\n- Medium priority: RAF (or setTimeout fallback)\n- Low priority: IdleCallback (or setTimeout fallback)",
    "sections": {
      "Why": "One default queue adapts to platform capabilities while preserving explicit\npriority semantics.",
      "Ownership and lifetime": "The instance exclusively owns its synchronous, frame/timer, and idle/timer\nchild queues. Disposing it disposes all three and their pending callbacks.",
      "Constructor": "Creates a capability-adaptive queue with one visual-work budget.",
      "Constructor: Why": "Selects frame/idle APIs when present and timers otherwise.",
      "Constructor: Ownership and lifetime": "The instance owns all three child queues until disposal.",
      "Property: [[computed:[Symbol.dispose]]]": "Disposes every child scheduler and its pending entries.",
      "Property: [[computed:[Symbol.dispose]]]: Why": "Mixed scheduling remains one deterministic resource boundary.",
      "Property: [[computed:[Symbol.dispose]]]: Ownership and lifetime": "Ends the lifetime of all pending sync/frame/timer/idle work.",
      "Property: add": "Routes one keyed task to the scheduler selected by its numeric priority.",
      "Property: add: Why": "Callers choose urgency without knowing browser capability details.",
      "Property: add: Ownership and lifetime": "The selected child queue owns the entry until execution or disposal."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { MixedRenderQueue, RenderPriority } from \"@typed/template/RenderQueue\"\n\nconst queue = new MixedRenderQueue()\n\n// Tasks are automatically routed to the appropriate queue\nqueue.add(\"sync\", () => {}, () => {}, RenderPriority.Sync)\nqueue.add(\"raf\", () => {}, () => {}, RenderPriority.Raf(5))\nqueue.add(\"idle\", () => {}, () => {}, RenderPriority.Idle(1))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 420,
          "column": 1
        },
        "end": {
          "line": 502,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/RenderQueue.d.ts",
        "start": {
          "line": 337,
          "column": 5
        },
        "end": {
          "line": 337,
          "column": 43
        }
      },
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 497,
          "column": 3
        },
        "end": {
          "line": 501,
          "column": 5
        }
      },
      {
        "file": "packages/template/src/RenderQueue.ts",
        "start": {
          "line": 462,
          "column": 3
        },
        "end": {
          "line": 478,
          "column": 5
        }
      }
    ],
    "since": "1.0.0",
    "category": "Mixed scheduling"
  }
}
