Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkerTask

Object that describes a task to be executed in a worker part of a WorkerPool

Hierarchy

  • WorkerTask

Index

Properties

Properties

args

args: any[]

An array of arguments for the task, these arguments will be passed to a function called from a TaskExecutor

id

id: string

The id of the task to execute, this is equivalent to a function name in a TaskExecutor

Optional transferable

transferable: ArrayBuffer[]

Array of memory buffers to transfer to the worker in which the task will be executed.

Generated using TypeDoc