GithubHelp home page GithubHelp logo

markzyu / actionchain Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 208 KB

Just "Promise" for Android. It's possible to use RxJava instead.

License: BSD 3-Clause "New" or "Revised" License

Java 100.00%

actionchain's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

actionchain's Issues

TODOs

For version 0.4:

  • Like Promise, returning a chain during a handler will force that handler to wait till the returned chain finishes execution
  • Enable filtering by type when calling ChainStyle.fail
  • Create something like Promise.all
  • Create tests regarding filtering by type when calling ChainStyle.fail
  • Exceptions not caught by any Consumer<ErrorHolder> should crash the Java app rather than be ignored.

For future:

update LICENSE

  1. Change to per-file license rather than single license for a whole package.
  2. Change to another LICENSE, more friendly for Open Source developers.

Or any other methods to attract open source efforts

Add RXJava

should support mixing rxjava with actionchain

Image holder

Sorry but I cannot find a image hosting service in short time... (And my math homework is due tonight XD)

img_0435

img_0445

[v0.5] Ability to query states

  • Able to query state of a ReadOnlyChain (is it stopped? did it end in error?)
  • Able to forcibly stop execution of a specified ReadOnlyChain
  • Able to query whether all chains produced by a specified ActionChainFactory have finished execution (either successful or with exceptions).

Going to do this in branch "b0.5"

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.