ProcessOptions
Defined in: Process.ts:4
Options for creating a Process.
Properties
Section titled “Properties”duration?
Section titled “duration?”
optionalduration?:number
Defined in: Process.ts:11
Auto-complete after this duration in ms.
optionalloop?:boolean
Defined in: Process.ts:13
Loop the process.
onComplete?
Section titled “onComplete?”
optionalonComplete?: () =>void
Defined in: Process.ts:9
Called when the process completes.
Returns
Section titled “Returns”void
optionaltags?:string[]
Defined in: Process.ts:15
Tags for process filtering.
update?
Section titled “update?”
optionalupdate?: (dt,elapsed) =>boolean|void
Defined in: Process.ts:7
Called each frame with dt (ms) and elapsed (ms). Return true to complete early.
Parameters
Section titled “Parameters”number
elapsed
Section titled “elapsed”number
Returns
Section titled “Returns”boolean | void