A "named function wrapper" with built in "computation tree progress tracking".

Type Parameters

  • T

Hierarchy

  • Task

Properties

Methods

Properties

id: number
name: string

Methods

  • run the task without observation

    Returns Promise<T>

  • run the task with the specified observer, default updateRate is 250ms

    Parameters

    Returns Promise<T>

  • Run a child task that adds a new node to the progress tree. Allows to passing the progress so that the progress tree can be kept in a "good state" without having to separately call update.

    Parameters

    Returns Promise<T>

  • Run the task on the specified context.

    Parameters

    Returns Promise<T>

Generated using TypeDoc