Documentation
    Preparing search index...

    Type Alias StorageNodeClientOptions

    type StorageNodeClientOptions = {
        fetch?: Fetch;
        onError?: (error: Error) => void;
        timeout?: number;
    }
    Index

    Properties

    fetch?: Fetch

    An optional custom fetch function.

    If not provided, defaults to the global fetch function (globalThis.fetch).

    globalThis.fetch
    
    onError?: (error: Error) => void

    Callback for individual network errors.

    timeout?: number

    An optional timeout for requests.

    30_000ms (30 seconds)