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(ticks, opts?): MethodDecorator

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

Runs the decorated method every ticks ticks, with no condition or latch.

Still gated by the module's area, so it costs nothing while dormant.

Parameters โ€‹

ticks โ€‹

number

opts? โ€‹

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

Returns โ€‹

MethodDecorator

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