Skip to content

ProcessOptions

Defined in: Process.ts:4

Options for creating a Process.

optional duration?: number

Defined in: Process.ts:11

Auto-complete after this duration in ms.


optional loop?: boolean

Defined in: Process.ts:13

Loop the process.


optional onComplete?: () => void

Defined in: Process.ts:9

Called when the process completes.

void


optional tags?: string[]

Defined in: Process.ts:15

Tags for process filtering.


optional update?: (dt, elapsed) => boolean | void

Defined in: Process.ts:7

Called each frame with dt (ms) and elapsed (ms). Return true to complete early.

number

number

boolean | void