@squidcloud/client
    Preparing search index...

    Variable FUNCTION_AFFINITY_SCOPESConst

    FUNCTION_AFFINITY_SCOPES: readonly ["pod", "worker"] = ...

    How sticky affinity routing must be for a function that keeps state outside the request.

    • pod: the state is reachable by any worker of the pod (a file on disk, a child process).
    • worker: the state lives in one worker's memory, so the worker itself has to be reused.