mortice
    Preparing search index...

    Interface Mortice

    interface Mortice {
        queue?: Queue<unknown, AbortOptions>;
        finalize(): void;
        readLock(options?: AbortOptions): Promise<Release>;
        writeLock(options?: AbortOptions): Promise<Release>;
    }
    Index

    Properties

    Methods

    Properties

    queue?: Queue<unknown, AbortOptions>

    If this is the main thread, the state of the read/write queue may be inspected here

    Methods

    • Removes this mutex from the global state, after invoking this method it cannot be used any more.

      Returns void