Import
import { filterMapEffect } from "@typed/fx/Versioned";Signatures
export declare const filterMapEffect: {
<A, C, E3, R3, B, D, E4, R4>(options: {
onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;
onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;
}): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;
<R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {
onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;
onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;
}): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;
};Why
Adds Effectful filtering independently to the push and current-read channels while preserving their separate error and service types.
Ownership and lifetime
No subscription starts during transformation. Callback effects run when their push or read channel is consumed and are interrupted with that consumer.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.