Owl.Util.Scheduler:Defer(fn: TaskFn, opts?: TaskOptions): TaskHandle
Server & ClientEnqueues a low-priority task into the deferred queue, processed after main tasks subject to budget constraints.
Parameters
fn* | Callback function to execute in the deferred phase. |
opts | Optional task options. |
Returns
TaskHandleHandle object for the deferred task.
Related Types
Owl.Util.Scheduler:Defer(function()
print("Flushing background cleanup work")
end)