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.

Resumo

Funções

Funções

Parâmetros

functionOrThread: function | coroutine
...: Variant

Devolução

Parâmetros

functionOrThread: function | coroutine
...: Variant

Devolução

Parâmetros

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

Devolução

desynchronize

void

Devolução

void

synchronize

void

Devolução

void

wait

Parâmetros

duration: number
Valor Padrão: 0

Devolução

cancel

void

Parâmetros

thread: coroutine

Devolução

void