Get the number of active timeouts.
Get all active timeout IDs.
Set a named timeout.
Function to execute on timeout
Timeout in milliseconds
Optionalname: stringOptional name for debugging
TimeoutHandle for clearing the timeout
Set a timeout with a Promise-based API.
Delay in milliseconds
Promise that resolves after the delay
Set a timeout that can be awaited.
Delay in milliseconds
Object with promise and cancel function
Clear a specific timeout by ID.
The timeout ID to clear
true if timeout was found and cleared
Clear all timeouts.
Check if a specific timeout is active.
The timeout ID to check
true if the timeout is active
Destroy the manager and clear all timeouts. Should be called when the manager is no longer needed.
Centralized timeout management utility.
Provides: