-
Notifications
You must be signed in to change notification settings - Fork 3
Task Model

Represents a scheduled task. The state of the task may either be queued, executing or resolved/completed. The task implements the Promise api for result retrieval and error handling.
Errors are silently ignored if no onrejected handler is registered for a task.
Serializable definition of the operations to be performed by this task. The definition consists of a unique id — assigned by the thread pool — and the main function to execute in serialized form.
Serialized representation of a function call. A function call consists of the function to invoke and the parameters to pass to the function. Each serialized function can be identified by a unique id. The unique id can be used to retrieve the definition of the function.
Unique id assigned to each serialized function. Allows retrieval of the function definition.