RefSubject overview
Re-exports from @typed/fx/RefSubject
Added in v1.0.0
Table of contents
exports
From “@typed/fx/RefSubject”
Signature
export * from "@typed/fx/RefSubject"
Added in v1.0.0
utils
takeOneIfDomEnvironment
Signature
export declare const takeOneIfDomEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, CurrentEnvironment | R>
Added in v1.0.0
takeOneIfEnvironment
Signature
export declare const takeOneIfEnvironment: {
(
environments: ReadonlyArray<Environment>
): <A, E, R>(fx: RefSubject.RefSubject<A, E, R>) => RefSubject.RefSubject<A, E, R | CurrentEnvironment>
<A, E, R>(
fx: RefSubject.RefSubject<A, E, R>,
environments: ReadonlyArray<Environment>
): RefSubject.RefSubject<A, E, R | CurrentEnvironment>
}
Added in v1.0.0
takeOneIfNotDomEnvironment
Signature
export declare const takeOneIfNotDomEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, R | CurrentEnvironment>
Added in v1.0.0
takeOneIfNotEnvironment
Signature
export declare const takeOneIfNotEnvironment: {
(
environments: ReadonlyArray<Environment>
): <A, E, R>(fx: RefSubject.RefSubject<A, E, R>) => RefSubject.RefSubject<A, E, R | CurrentEnvironment>
<A, E, R>(
fx: RefSubject.RefSubject<A, E, R>,
environments: ReadonlyArray<Environment>
): RefSubject.RefSubject<A, E, R | CurrentEnvironment>
}
Added in v1.0.0
takeOneIfNotServerEnvironment
Signature
export declare const takeOneIfNotServerEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, CurrentEnvironment | R>
Added in v1.0.0
takeOneIfNotStaticEnvironment
Signature
export declare const takeOneIfNotStaticEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, CurrentEnvironment | R>
Added in v1.0.0
takeOneIfServerEnvironment
Signature
export declare const takeOneIfServerEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, CurrentEnvironment | R>
Added in v1.0.0
takeOneIfStaticEnvironment
Signature
export declare const takeOneIfStaticEnvironment: <A, E, R>(
fx: RefSubject.RefSubject<A, E, R>
) => RefSubject.RefSubject<A, E, CurrentEnvironment | R>
Added in v1.0.0