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 Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Ctx |
T |