GithubHelp home page GithubHelp logo

kairos's People

Contributors

ddosia avatar jsoref avatar lastres avatar lehoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kairos's Issues

rebar 2 fails while checking out dependencies

Hello,
I'm using chrons library in one of my projects and it looks like your latest commit causes rebar2 get-deps to fail with the following error.

Pulling chronos from {git,"https://github.com/lehoff/chronos.git",
                          {branch,"master"}}
Cloning into 'chronos'...
WARN:  Directory expected to be an app dir, but no app file found
in ebin/ or src/:
/Users/user/project/deps/chronos
ERROR: Dependency dir /Users/user/project/deps/chronos failed application validation with reason:
{missing_app_file,"/Users/user/project/deps/chronos"}.
ERROR: 'get-deps' failed while processing /Users/user/project: rebar_abort

Support for recurring timers

If you want to have a recurring timer, say every 5 seconds, you have to start a new timer every time it expires.

If this is too troublesome to do it will be possible to introduce recurring timers - I encourage users of Chronos to try it out as it is today and provide me with some information about how recurring timers should work for them. Then I will implement the feature.

Flexible linking to the creating process

Right now a Chronos timer server can only be started with start_link/1 which means that it will die when the creator of it dies.

It might be a good thing to decouple this, but since I have not found a good use case for this yet it is not implemented.

Document use of spawn when creating timers

When the requester of a timer dies it should be possible to get the timers that has been requested removed.

This is only a problem if more processes share the same Chronos timer server, since a single process which has started a Chronos timer server will drag Chronos down with it when it dies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.