Import
import type { MatchHandlerReturnValue } from "@typed/router";Signatures
export type MatchHandlerReturnValue<A, E, R> = Fx.Fx<A, E, R> | Stream.Stream<A, E, R> | Effect.Effect<A, E, R> | A;Why
All supported producers normalize to Fx while preserving their errors and service requirements.
Ownership and lifetime
This union adds no lifetime. Plain values are immediate; Effect, Stream, and Fx resources begin only when the selected handler is run in its route Scope.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.