task

Afficher les obsolètes

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.

Résumé

Fonctions

Fonctions

Paramètres

functionOrThread: function | coroutine
...: Variant

Retours

Paramètres

functionOrThread: function | coroutine
...: Variant

Retours

Paramètres

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

Retours

desynchronize

void

Retours

void

synchronize

void

Retours

void

wait

Paramètres

duration: number
Valeur par défaut : 0

Retours

cancel

void

Paramètres

thread: coroutine

Retours

void