Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / every

Function: every() โ€‹

every(instance, ticks, fn, opts?): void

Defined in: twine/src/core/events/register.ts:102

Imperative Every: run fn every ticks ticks.

Parameters โ€‹

instance โ€‹

object

ticks โ€‹

number

fn โ€‹

(c) => void

opts? โ€‹

Omit<OnOptions, "once" | "every"> = {}

Returns โ€‹

void

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.