libp2p
    Preparing search index...
    interface RepeatingTaskOptions {
        debounce?: number;
        runImmediately?: boolean;
        timeout?: number;
    }
    Index

    Properties

    debounce?: number

    When .run() is called to run the task outside of the current interval, debounce repeated calls to .run() by this amount.

    100
    
    runImmediately?: boolean

    Whether to schedule the task to run immediately

    false
    
    timeout?: number

    How long the task is allowed to run before the passed AbortSignal fires an abort event