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