Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages