../ flow

timers

  • Debounce: Only respond after a period of quiet
    Debounce, pointer events
  • Throttle: Only respond to events every set interval
    Throttle, pointer events
  • Completion: Relative amount of elapsed time
    completionMs

state machine

  • starter: Lightweight sketch to get started with state machines
    State machine
  • agent: Uses the state machine driver for agent-like behaviour
    State machine driver
  • regions: Uses a 'driver' to change state based on certain conditions.
    State machine driver

etc.

  • List: Process a list of items with a set interval
    Stack, continuously
  • Fetch poll: Downloads JSON from a URL at a specified interval
    fetch, continuously
  • Fetch outdated: Downloads JSON from a URL only if it is out of date
    fetch, caching, async