Import
import { Fx } from "@typed/fx";Access Fx.ThrottleOptions through the imported Fx export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export type ThrottleOptions = {
readonly duration: Duration.Input;
readonly leading?: boolean | undefined;
readonly trailing?: boolean | undefined;
};Why
Leading and trailing edges answer different interaction needs, so the window policy is explicit rather than hidden behind separate operators.
Ownership and lifetime
This immutable value owns no resource. throttle reads it when constructing
the Fx; the resulting subscription owns the timer and pending value.
Examples
import type { ThrottleOptions } from "@typed/fx/Fx"
const options: ThrottleOptions = {
duration: "250 millis",
leading: true,
trailing: true
}Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.