Sanity Library Reference Docs
    Preparing search index...

    One emitted drain function. An effect with its own budget gets its own drain; effects without one share a drain, whose limits is empty.

    interface DrainSpec {
        effectNames: string[];
        filter: string;
        limits: FunctionLimits;
        name: string;
    }
    Index

    Properties

    effectNames: string[]
    filter: string

    The document trigger, naming this drain's own effects: a write leaving only another drain's effect unclaimed does not invoke it.

    name: string