Packages
Open-source Content Management System (CMS) built with Phoenix LiveView. Faster render times to boost SEO performance, even for the most content-heavy pages.
Retired package: This version is from a previous project unrelated to Beacon CMS, and should only be used for backwards compatibility.
Current section
Files
Jump to
Current section
Files
README.md
# Beacon
A Process that periodically reaches a target at a fixed interval.
## Example
When configuring the `Beacon`, the `|>` operator can be used to
write a cleaner code.
```elixir
{:ok, r} = Beacon.start_link(self())
r |> Beacon.set_periodic_callback(3, &(send(&1, :ping)))
|> Beacon.set_duration(10)
|> Beacon.enable
```