bun-threads
    Preparing search index...

    Interface ThreadOptions

    interface ThreadOptions {
        idleTimeout?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    idleTimeout?: number

    How long (in milliseconds) to keep the Thread or ThreadPool active after completing a task before terminating it. Keeping the Thread or ThreadPool open will decrease repeat startup times, but will cause the program to hang and not exit if the Thread.close method is not called. Default is 0 (close immediately).

    0