task

非推奨を表示

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.

概要

関数

関数

パラメータ

functionOrThread: function | coroutine
...: Variant

戻り値

パラメータ

functionOrThread: function | coroutine
...: Variant

戻り値

パラメータ

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

戻り値

desynchronize

void

戻り値

void

synchronize

void

戻り値

void

wait

パラメータ

duration: number
既定値: 0

戻り値

cancel

void

パラメータ

thread: coroutine

戻り値

void