GenTimer

Timer Application, broadcasts {:tick, state} to topic subscribers every 1 second for specified duration.

Installation

If available in Hex, the package can be installed by adding gen_timer to your list of dependencies in mix.exs:

def deps do
  [
    {:vt_gen_timer, "~> 0.1.0"}
  ]
end

TODO

-[ ] Add explicit config for pubsub name??

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/gen_timer.