项目作者: aerosol

项目描述 :
:recycle: Convenience wrapper around gen_cycle behaviour
高级语言: Elixir
项目地址: git://github.com/aerosol/recycle.git
创建时间: 2019-02-11T10:04:31Z
项目社区:https://github.com/aerosol/recycle

开源协议:Apache License 2.0

下载


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:

  1. def deps do
  2. [
  3. {:recycle, "~> 0.1.0"}
  4. ]
  5. 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.