Class

AsyncTasks

AsyncTasks()

Constructor

# new AsyncTasks()

Manages a set of tasks which work by periodically calling an update() method.

View Source bosdyn-client/async_tasks.js, line 7

Methods

# add_task(task) → {void}

Add a task to be managed by this object.
Parameters:
Name Type Description
task * Task to add.

View Source bosdyn-client/async_tasks.js, line 24

void

# update() → {void}

Call this periodically to manage execution of tasks owned by this object.

View Source bosdyn-client/async_tasks.js, line 32

void

AsyncTasks(tasksopt)

Constructor

# new AsyncTasks(tasksopt)

Parameters:
Name Type Attributes Default Description
tasks Array <optional>
null List of tasks to manage.

View Source bosdyn-client/async_tasks.js, line 15

Methods

# add_task(task) → {void}

Add a task to be managed by this object.
Parameters:
Name Type Description
task * Task to add.

View Source bosdyn-client/async_tasks.js, line 24

void

# update() → {void}

Call this periodically to manage execution of tasks owned by this object.

View Source bosdyn-client/async_tasks.js, line 32

void