Browse documentation

ContextScope

Type. Typed key for context operations.

Table of contents

Category

Type

Type import

ts
import type { ContextScope } from "valyrian.js/context";

Public signature

ts
type ContextScope<T> = { key: symbol; name: string; __type?: T; };

Type usage

ContextScope is the typed key created by createContextScope and consumed by context read, write and run operations.