most-request-animation-frame
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

most-request-animation-frame -- 1.0.0

Create streams that emits every requestAnimationFrame

Get it

yarn add most-request-animation-frame
# or
npm install --save most-request-animation-frame

API Documentation

All functions are curried!

requestAnimationFrames(): Stream<Time>

Creates a Stream containing the timestamps on each call to requestAnimationFrame.

See the code
export function requestAnimationFrames(): Stream<Time> {
  return multicast(new RequestAnimationFrame())
}

Dependencies (3)

Dev Dependencies (9)

Package Sidebar

Install

npm i most-request-animation-frame

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • tylors