@wopjs/async-seq - v0.1.2
    Preparing search index...

    Interface AsyncSeqOptions

    interface AsyncSeqOptions {
        dropHead?: boolean;
        window?: number;
    }
    Index

    Properties

    Properties

    dropHead?: boolean

    New pending tasks are added to the sequence tail. By default they are dropped if the sequence is full. Set this to true to drop old pending tasks from sequence head instead.

    window?: number

    Max size of the sequence. Default Infinity.