@lacunahub/letsfrag
    Preparing search index...

    Class SpawnQueue

    Queue for managing spawning of clusters with delays.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    options: SpawnQueueOptions = {}

    Queue configuration options

    state: SpawnQueueState = SpawnQueueState.Empty

    Whether the queue is paused.

    Accessors

    Methods

    • Processes the next item in the queue.

      Returns Promise<unknown>

      Promise that resolves with the result of the item's run function