Skip to content

FromContext

type FromContext<Ctx, T> = T | ((ctx) => T | Promise<T>);

Defined in: src/adapters/guard.ts:17

A value, or a function of the framework context producing it (sync or async).

Type Parameter
Ctx
T