Hi Folks,
Just released a new version of elm-delay
- a small set of utils for sequencing messages after given intervals.
Myself and a few others were only really using milliseconds as a time unit, so the main change was to use milliseconds as a default to make the api a bit cleaner:
before:
Delay.after 500 Milliseconds MessageTriggered
now:
Delay.after 500 MessageTriggered
There are some helpers to convert units for readability / backwards compatibility
Delay.after (Delay.seconds 1) MessageTriggered
Shoutout to @lenards for their contributions!
Checkout the library here: elm-delay 4.0.0