Acrobits IPC SDK
    Preparing search index...

    Type Alias IpcRequestOptions

    Options for a request whose reply the app may stop waiting for.

    type IpcRequestOptions = {
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index

    Properties

    Properties

    signal?: AbortSignal

    Cancels the request. An already aborted signal sends nothing. Aborting while the reply is pending rejects with the signal's reason and stops waiting for the reply.

    timeoutMs?: number

    Rejects with IpcRequestTimeoutError and stops waiting for the reply when the Host does not answer within this many milliseconds. Without it, the request waits until the Host replies or signal aborts.