Sanity Library Reference Docs
    Preparing search index...

    Interface InvokeFunctionRequest

    interface InvokeFunctionRequest {
        event?: InvokeFunctionEvent;
        organizationId?: string;
        signal?: AbortSignal;
        stackId?: string;
        timeout?: number;
    }
    Index

    Properties

    organizationId?: string

    Organization owning the stack.

    signal?: AbortSignal

    Abort the invocation.

    stackId?: string

    Stack to resolve the function name against. Overrides stackId from the client config.

    timeout?: number

    Milliseconds to wait for the function to return.