Defers a function to be executed after a delay.
The function to defer.
Optional
delay: number = 0The delay in milliseconds before executing the function.
Optional
taskType: string = ...The type of task to track.
The timeout ID associated with the deferred function.
Registers a callback to be called when the URL changes.
The callback function to register.
The registered callback function.
This object has two goals: