/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/callbacks.dm

CALLBACKA shorthand for the callback datum, documented here
MAKE_SPAWN_ACT_LIKE_WAITFORPer the DM reference, spawn(-1) will execute the spawned code immediately until a block is met.
ASYNCCreate a codeblock that will not block the callstack if a block is met.
VERB_CALLBACKlike CALLBACK but specifically for verb callbacks

Define Details

ASYNC

Create a codeblock that will not block the callstack if a block is met.

CALLBACK

A shorthand for the callback datum, documented here

MAKE_SPAWN_ACT_LIKE_WAITFOR

Per the DM reference, spawn(-1) will execute the spawned code immediately until a block is met.

VERB_CALLBACK

like CALLBACK but specifically for verb callbacks