Animation frame delta
Register a animation loop like so
When given a duration, the progress is beeing passed to the individual function.
let duration = 1000let subscription =
To cancel simply call
An elapsing subscription can also be iterated a number of times
All feedback is appreciated. Create an pull request or write an issue.