Type Alias Timer

Timer: Task<number, never> & Phantom<"Timer">

A Task specialized for use with timeout or other methods or functions which want to know they are using.

Note

This type has zero runtime overhead, including for construction: it is just a Task with additional type information.