Create streams that emits every requestAnimationFrame
yarn add most-request-animation-frame
# or
npm install --save most-request-animation-frame
All functions are curried!
Creates a Stream containing the timestamps on each call to requestAnimationFrame.
See the code
export function requestAnimationFrames(): Stream<Time> {
return multicast(new RequestAnimationFrame())
}