delay

accepts 1 input stream, time period number

  • ❯It emits each value of the input stream with a time period delay

returns a new stream of timeshifted values

Published on Monday, 9 Oct. 2017
Revised on Monday, 8 Oct. 2018

delay accepts a time period argument, such as 2500 milliseconds.

It doesn’t change the relative time intervals between the events.

Next


debounceTime vs delay

Cédric Soulas Follow Hire me

Freelance Developer Advocate. Motion graphics with code. JavaScript and Elm. cedricsoulas.com

Subscribe to reactive.how newsletter

Join the Newsletter

Learn Reactive Programming and stay up-to-date:

Receive my latest news, product updates and programming visualizations. You can unsubscribe at any time.

Highlights

@CedricSoulas

Making an illustrated book!

The Illustrated Book of RxJS

Learn more →