IFClite TypeScript API
    Preparing search index...

    Interface RpcStartOptions<T>

    interface RpcStartOptions<T> {
        accept: (data: unknown) => RpcStartStep<T>;
        post: () => void;
        timeoutError?: () => Error;
        timeoutMs: number;
    }

    Type Parameters

    • T
    Index
    accept: (data: unknown) => RpcStartStep<T>

    Recognise the handshake answer; messages it returns undefined for flow on to decode.

    post

    post: () => void

    Send the init message. A throw is fatal.

    timeoutError?: () => Error
    timeoutMs: number

    Start deadline (see armDeadline). Expiry is fatal.