timer
timer: { clearTimeout: any; setTimeout: any }
Type declaration
clearTimeout:function
- clearTimeout(id: number): void
setTimeout:function
- setTimeout(cb: () => void, timeout: number): number
Parameters
cb: () => void
timeout: number
Returns number
An interface describing all the platform specific APIs Glean.js needs to access.
Each supported platform must provide an implementation of this interface.