Browse documentation

createContextScope

Creates a named context boundary for values that belong to one execution flow.

Table of contents

Category

Value

Import

js
import { createContextScope } from "valyrian.js/context";

Public signature

ts
<T>(name: string): ContextScope<T>

Parameters

ts
name: string

Result

ts
ContextScope<T>