Skip to content

♻️ Convenience wrapper around gen_cycle behaviour

License

Notifications You must be signed in to change notification settings

aerosol/recycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recycle

Hex.pm

Convenience wrapper around gen_cycle behaviour.

Provides __using__/1 macro for generating the cycle callback module.

By default, skips the first cycle which is usually what you want when applications such as Ecto.Repo start asynchronously.

Refer to the test suite for sample usage.

Installation

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

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

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/recycle/Recycle.html#content.

About

♻️ Convenience wrapper around gen_cycle behaviour

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages