Creates a channel that closes after a specified time in milliseconds.
Delays above the setTimeout maximum (2^31-1 ms) are honoured by chaining timers; a non-finite delay never closes.
Type Parameters
T = unknown
Parameters
milliseconds: number
The time in milliseconds after which to close the channel.
Creates a channel that closes after a specified time in milliseconds. Delays above the
setTimeoutmaximum (2^31-1 ms) are honoured by chaining timers; a non-finite delay never closes.