FrontPanel Platform API - v6.0.0
    Preparing search index...

    Class WorkQueue

    Class representing a work queue used to execute asynchronous tasks sequentially in the order they are queued.

    Index

    Constructors

    Methods

    Constructors

    Methods

    post

    • post(task: Task): Promise<void>

      Posts an asynchronous task to the work queue. The task will be executed after all previously queued tasks have completed.

      Parameters

      • task: Task

        The task to post to the queue.

      Returns Promise<void>

      • A promise that resolves when the task that was posted to the queue is complete.