Stream

timer/1

timer(n)

Creates a stream that emits a single value after n milliseconds.

The value emitted is 0. This operation will block the caller by the given time until the element is streamed.