What's Tas

Make code simple and easy to maintain. Tas makes the code structure clear, turning async code to sync, reducing the levels, avoiding callback hell / pyramid, is better than Promise. Tas can be used in Node.js and in browsers.

The tasks written by Tas do not need to use Promise / resolve / reject, generator / yield, async / await, so Tas is easier to use than Promise. And, also Tas is faster than Promise and promise libraries (Why).

Tas is a lightweight JavaScript logic framework (only 3KB gzipped), with no dependency. Tas is the abbreviation of "tasks".

Learn more about Tas:
https://github.com/tasjs/tas

How to test these examples

1. Open this file in your nearest browser (Chrome, Firefox, IE, etc.).
2. See the logs in console (e.g., in Chrome Developer Tools > console, Dock side > Dock to right).
3. All test of examples are executed one by one, including async tasks.

Enjoy!