Type aliases
CapabilitiesOf
CapabilitiesOf<A>: A extends Env<infer R, any> ? R : never
Type parameters
LazyResume
LazyResume<A>: { resume: (cb: (value: A) => Disposable) => Disposable; type: "lazy" }
Type parameters
Type declaration
-
Readonly resume: (cb: (value: A) => Disposable) => Disposable
-
- (cb: (value: A) => Disposable): Disposable
-
Parameters
-
cb: (value: A) => Disposable
-
-
Parameters
Returns Disposable
Returns Disposable
-
Readonly type: "lazy"
Provide
Provide<E, C>: [keyof Omit<CapabilitiesOf<E>, keyof C>] extends [never] ? Pure<ValueOf<E>> : Env<Omit<CapabilitiesOf<E>, keyof C>, ValueOf<E>>
Type parameters
ValueOf
ValueOf<A>: A extends Env<any, infer R> ? R : A extends Pure<infer R> ? R : never
Type parameters
ValueResume
ValueResume<A>: { type: "value"; value: A }
Type parameters
Type declaration
-
Readonly type: "value"
-
Readonly value: A
@typed/env