IFClite TypeScript API
    Preparing search index...

    Interface DecodeWorkerOptions

    interface DecodeWorkerOptions {
        spawn?: () => Worker | Promise<Worker>;
    }

    Hierarchy (View Summary)

    Index
    spawn?: () => Worker | Promise<Worker>

    Override the worker constructor — useful for tests or custom bundlers. May return a Worker synchronously or a Promise resolving to one; the client handles both. Sync callbacks remain the common case and stay type-compatible with the previous signature.