@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface CloudflareOptions

    interface CloudflareOptions {
        accountId: string;
        baseUrl?: string;
        budget?: Budget;
        budgetKey?: string;
        fetch?: Fetcher;
        headers?: Record<string, string>;
        now?: () => number;
        retries?: number;
        sleep?: (ms: number) => Promise<void>;
        token: string;
    }

    Hierarchy (View Summary)

    Index
    accountId: string
    baseUrl?: string
    budget?: Budget
    budgetKey?: string

    Groups this plane's spending with others under one governor.

    Defaults to the token, which is right whenever a user holds one. Two tokens belonging to one user cannot be told apart from outside, so a caller who knows they do says so here.

    fetch?: Fetcher
    headers?: Record<string, string>

    extra headers on every request, for a caller that has to identify itself

    now?: () => number
    retries?: number

    how many times a retryable failure is retried before it is raised

    sleep?: (ms: number) => Promise<void>
    token: string