# How to Use

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!

# What's Tas

Tas makes the code elegant. In Tas, we can write a set of micro tasks (including async tasks) instead of a complex function, make the code logic clear and easy to test and maintain. Tas can be used in Node.js and in browsers. "Tas" is the abbreviation of "tasks".
In Tas, we can insert or remove an async tasks anywhere in any micro task without having to adjust the code elsewhere, all tasks are executed in the order we write, just like the sync tasks, and more better than Promise and generator / yield and async / await, and the tasks execution order is more reasonable.
Tas can performs more than **3 million** sync tasks or **1 million** async tasks per second, faster than native Promise (Benchmark). With Tas, we can write server code with clear code structure and excellent performance in Node.js.
Learn more about Tas:
https://github.com/tasjs/tas