task

Tampilkan yang Tidak Digunakan Lagi

*Konten ini akan segera tersedia dalam bahasa pilihanmu.

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.

Rangkuman

Fungsi

Fungsi

Parameter

functionOrThread: function | coroutine
...: Variant

Memberikan nilai

Parameter

functionOrThread: function | coroutine
...: Variant

Memberikan nilai

Parameter

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

Memberikan nilai

desynchronize

void

Memberikan nilai

void

synchronize

void

Memberikan nilai

void

wait

Parameter

duration: number
Nilai Default: 0

Memberikan nilai

cancel

void

Parameter

thread: coroutine

Memberikan nilai

void