{
  "id": "@typed/template#CurrentRenderPriority",
  "canonicalId": "@typed/template#CurrentRenderPriority",
  "symbol": {
    "id": "@typed/template#CurrentRenderPriority",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "CurrentRenderPriority",
    "kind": "constant",
    "signatures": [
      "export declare const CurrentRenderPriority: Context.Reference<number>;"
    ],
    "summary": "A service that provides the default priority for rendering tasks.\n\nThe default value is `RenderPriority.Raf(10)`, which typically schedules updates\nto occur before the next repaint.",
    "sections": {
      "Why": "A numeric priority lets one queue order synchronous, animation-frame, timer,\nand idle work without embedding scheduler policy in each directive.",
      "Ownership and lifetime": "The service is immutable scheduling metadata and owns no callback."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CurrentRenderPriority } from \"@typed/template/Render\"\nimport { RenderPriority } from \"@typed/template/RenderQueue\"\nimport { Layer } from \"effect\"\n\n// Use synchronous priority for immediate updates\nconst syncLayer = Layer.succeed(CurrentRenderPriority, RenderPriority.Sync)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Render.ts",
      "line": 161
    },
    "since": "1.0.0",
    "category": "Render scheduling"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#CurrentRenderPriority",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "CurrentRenderPriority",
    "qualifiedName": "CurrentRenderPriority",
    "declarationKey": "declaration:202ed10d3b210e0a0577677f",
    "family": "variable",
    "signatures": [
      "export declare const CurrentRenderPriority: Context.Reference<number>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Render.ts",
        "start": {
          "line": 161,
          "column": 14
        },
        "end": {
          "line": 163,
          "column": 3
        }
      }
    ],
    "aliases": [
      "@typed/template/Render#CurrentRenderPriority"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:202ed10d3b210e0a0577677f",
    "name": "CurrentRenderPriority",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const CurrentRenderPriority: Context.Reference<number>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Render.ts",
            "start": {
              "line": 161,
              "column": 14
            },
            "end": {
              "line": 163,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const CurrentRenderPriority: Context.Reference<number>;"
    ],
    "typeParameters": [],
    "summary": "A service that provides the default priority for rendering tasks.\n\nThe default value is `RenderPriority.Raf(10)`, which typically schedules updates\nto occur before the next repaint.",
    "sections": {
      "Why": "A numeric priority lets one queue order synchronous, animation-frame, timer,\nand idle work without embedding scheduler policy in each directive.",
      "Ownership and lifetime": "The service is immutable scheduling metadata and owns no callback."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CurrentRenderPriority } from \"@typed/template/Render\"\nimport { RenderPriority } from \"@typed/template/RenderQueue\"\nimport { Layer } from \"effect\"\n\n// Use synchronous priority for immediate updates\nconst syncLayer = Layer.succeed(CurrentRenderPriority, RenderPriority.Sync)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Render.ts",
        "start": {
          "line": 161,
          "column": 14
        },
        "end": {
          "line": 163,
          "column": 3
        }
      }
    ],
    "since": "1.0.0",
    "category": "Render scheduling"
  }
}
