Manifold WASM Developer Guide
    Preparing search index...

    Module lib/util

    Functions

    fetchWithRetry

    Wraps fetch with retry-on-transient-failure and throws FetchError on non-2xx. Retries on HTTP 5xx, HTTP 429, and TypeError (network errors like "Failed to fetch"); returns immediately on other 4xx so typo'd URLs fail fast. AbortError and other exceptions propagate untouched.

    findExtension
    findMimeType
    formatArea
    formatLength
    formatVolume
    getSourceMappedStackTrace
    isNode

    Are we in Node?

    isWebWorker

    Are we in a web worker?

    parseStackTrace

    Attempt to parse a stack trace from a dynamically created function.