/libasync

Bringing the async feature of JS to C

Primary LanguageMakefileGNU General Public License v3.0GPL-3.0

libasync

A wrapper around libtpool to help write asynchronous code. Easy to use as well. For instructions on basic usage, visit the examples. For installation, please go here. For documentation, please visit here.

Installation

Make sure to have make, gcc and git installed.

Then, make sure all the following dependencies are installed:

Then install the library:

git clone https://github.com/resyfer/libasync.git
cd libasync
make install
cd ..
rm -rf libasync

Provide the password when prompted.

Development

Update makefile variable MODE to be:

MODE:=dev

and then:

make run # to run the example
# or
make test # to run the tests