lifecycle-utils
    Preparing search index...

    Class LongTimeout

    A timeout that can be set to a delay longer than the maximum timeout delay supported by a regular setTimeout.

    For example,

    import {LongTimeout} from "lifecycle-utils";

    const month = 1000 * 60 * 60 * 24 * 7 * 30;

    const timeout = new LongTimeout(() => {
    console.log("timeout");
    }, month);

    // to clear the timeout, call dispose
    // timeout.dispose();
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods