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

spool / Sequence

Interface: Sequence โ€‹

Defined in: plugins/sequence/index.ts:38

The handle sequence returns.

Properties โ€‹

fn โ€‹

readonly fn: FunctionRef

Defined in: plugins/sequence/index.ts:40

The scheduled function.

Methods โ€‹

finish() โ€‹

finish(ctx): void

Defined in: plugins/sequence/index.ts:46

Ends it for @s: drops the running tag and clears its timer.

Parameters โ€‹

ctx โ€‹

FunctionContext

Returns โ€‹

void


running() โ€‹

running(): Selector

Defined in: plugins/sequence/index.ts:42

The entities currently running it.

Returns โ€‹

Selector


start() โ€‹

start(ctx, who?): void

Defined in: plugins/sequence/index.ts:44

Marks who (default @s) as running and schedules the next tick.

Parameters โ€‹

ctx โ€‹

FunctionContext

who? โ€‹

Selector

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.