task

Mostrar obsoleto

The task library allows for functions and threads to be scheduled with the Task Scheduler.

The functions available in this library generally support functions and threads. In most cases using a function is sufficient, but for more advanced cases it's recommended you familiarize yourself with the coroutine library.

Resumen

Funciones

Funciones

Parámetros

functionOrThread: function | coroutine
...: Variant

Devuelve

Parámetros

functionOrThread: function | coroutine
...: Variant

Devuelve

Parámetros

duration: number
functionOrThread: function | coroutine
...: Variant

Devuelve

desynchronize

void

Devuelve

void

synchronize

void

Devuelve

void

wait

Parámetros

duration: number
Valor predeterminado: 0

Devuelve

cancel

void

Parámetros

thread: coroutine

Devuelve

void