mirror of https://github.com/FabricMC/yarn.git
10 lines
628 B
Plaintext
10 lines
628 B
Plaintext
CLASS net/minecraft/class_7493 net/minecraft/util/PendingTaskRunner
|
|
COMMENT A runner for tasks that have a running state and can hold one pending task.
|
|
COMMENT
|
|
COMMENT <p>If there is no running tasks, calling {@link #run} will run the passed task
|
|
COMMENT and marks the runner as running. During this state, calling the run method will set
|
|
COMMENT the task as pending. If called multiple times, only the last task will be called.
|
|
COMMENT Calling {@link #runPending} forces it to run the pending task, if any.
|
|
METHOD method_44122 runPending ()V
|
|
COMMENT Runs the pending task, if any, and marks the runner as not running.
|