Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.84 KB

processor.md

File metadata and controls

39 lines (27 loc) · 1.84 KB

Home > @ugdu/processor

processor package

A task processor which could be hooked in.

Classes

Class Description
HookDriver Provides features like invoking corresponding hook fns according to hook name in HookType mode, hooking into children hookd driver, etc.
Processor Used to manage tasks.
Task A subclass of HookDriver.
TaskOptions task options can be seen as a definition of a task. It is used to create task by calling TaskManager.task().

Interfaces

Interface Description
Context The context of all tasks.
TaskManager Used to manage tasks.

Variables

Variable Description
parallel Composes the parent task options with children task options in parallel mode.
series Composes the parent task options with children task options in series mode.

Type Aliases

Type Alias Description
BaseHooks Used to constrain Hooks in HookDriver to be a type that all its value are HookFn.
HookFn
HookType