flowr

  • Docs
  • Examples
Docs Menu
  • Getting started
  • Conditionals
    • Maybe
    • Either
    • Flip
    • Reverse
    • Order
    • One
    • Some
    • Constant
    • Just
    • Nothing
    • Pure
  • Schedulers
    • Await
    • Stream
    • Delay
    • Debounce
    • Throttle

Schedulers

A set of components that help scheduling renders
NamePropsDescription
Awaitfor, tap, onPromiseRenders it's children when and only if the provided promise resolves. When used with a render prop, it will always apply the promise result (err, res) to the callback. It also accepts a function that returns a Promise
Stream*Render-prop component that enables working with props streams
Debouncetime, immediateRenders it's children only after a certain amount of time has passed since the previous render.
DelaytimeRenders it's children only after a certain amount of time has passed
ThrottletimeRenders it's children at most once in the specified time interval.

Contribute on Github! Edit this section.