byond - Modules - TypesVar Details - Proc Details

abstract task

Nightmare task, executing game actions as part of context

Vars

flagsTask behavior flags
nameTask name

Procs

_invoke_asyncInternal wrapper for async exec
cleanupFree resources used by the task and its state, without deleting it
executeTask implementation
invoke_asyncInvoke task execution asynchronously If the return value is anything else than NIGHTMARE_TASK_ASYNC, the task will have completed, and callback fired, before this proc returns
invoke_syncInvoke task execution synchronously

Var Details

flags

Task behavior flags

name

Task name

Proc Details

_invoke_async

Internal wrapper for async exec

cleanup

Free resources used by the task and its state, without deleting it

execute

Task implementation

invoke_async

Invoke task execution asynchronously If the return value is anything else than NIGHTMARE_TASK_ASYNC, the task will have completed, and callback fired, before this proc returns

invoke_sync

Invoke task execution synchronously