Documentation
    Preparing search index...

    Class Effect<Input, Output>

    Immutable descriptor for a typed effect.

    Effect instances are created by createEffect. They hold the public name, input/output schemas, rate-limit/cache options, and handler function, but no runtime state. All mutable data such as memoized results, queued calls, in-flight promises, and rate-limit windows lives in EffectRunner.

    Type Parameters

    • Input
    • Output
    Index
    cache: boolean
    input: StandardSchemaV1<Input, Input>
    name: string
    output: StandardSchemaV1<Output, Output>
    rateLimit: RateLimit