Sanity Library Reference Docs
    Preparing search index...
    EffectRuntimeBlock:
        | { kind: "function"; memory?: number; timeout?: number }
        | { kind: "durableFunction" }
        | { kind: "selfHosted" }

    The runtime block on an effect node, overriding its workflow's kind. timeout is the seconds and memory the gigabytes the platform gives the function that runs this handler. Each is a whole number inside the range Sanity Functions accepts: timeout from 1 to 900 seconds, memory from 1 to 10 gigabytes. A value outside its range fails at defineWorkflow rather than at blueprint deploy. An effect declaring either gets its own drain function instead of sharing the deployment's. Both are the function budget, so both are accepted only under 'function'.