Kino.VegaLite.periodically

You're seeing just the function periodically, go back to Kino.VegaLite module for more information.
Link to this function

periodically(widget, interval_ms, acc, fun)

View Source

Specs

periodically(t(), pos_integer(), term(), (term() -> {:cont, term()} | :halt)) ::
  :ok

Registers a callback to run periodically in the widget process.

The callback is run every interval_ms milliseconds and recives the accumulated value. The callback should return either of:

  • {:cont, acc} - the continue with the new accumulated value
  • :halt - to no longer schedule callback evaluation

The callback is run for the first time immediately upon registration.