IFClite TypeScript API
    Preparing search index...

    Type Alias Reply<T>

    Reply:
        | { id: RequestId
        | null; ok: true; result: T }
        | { error: string; id: RequestId | null; ok: false }

    Every request gets exactly one reply with its id; id is null only when the request had no valid id.

    Type Parameters

    • T = unknown