# CurrentRenderPriority

A service that provides the default priority for rendering tasks.

The default value is `RenderPriority.Raf(10)`, which typically schedules updates
to occur before the next repaint.

## Signatures

```ts
export declare const CurrentRenderPriority: Context.Reference<number>;
```

## Why

A numeric priority lets one queue order synchronous, animation-frame, timer,
and idle work without embedding scheduler policy in each directive.

## Ownership and lifetime

The service is immutable scheduling metadata and owns no callback.

## Examples

```ts
import { CurrentRenderPriority } from "@typed/template/Render"
import { RenderPriority } from "@typed/template/RenderQueue"
import { Layer } from "effect"

// Use synchronous priority for immediate updates
const syncLayer = Layer.succeed(CurrentRenderPriority, RenderPriority.Sync)
```
