Owl.Util.Scheduler:NextFrame(fn: TaskFn, opts?: TaskOptions): TaskHandle
Server & ClientSchedules an unbudgeted high-priority task to run once at the start of the very next Heartbeat frame.
Parameters
fn* | Callback function to execute on the next frame. |
opts | Optional task configuration. |
Returns
TaskHandleHandle object for the scheduled task.
Related Types
Owl.Util.Scheduler:NextFrame(function()
print("Executing immediately on next Heartbeat")
end)