tasklib

Slim task-based programming


Keywords
async, common, continuation, cross, lightweight, task
License
MIT
Install
haxelib install tasklib 0.0.1

Documentation

tasklib

Slim task-based library for Haxe

Work in progress...

Exceptions

Task.forError / Task.ifError are used for rejection and errors handling.

All exceptions will be throw loudly and not muted by task execution.

C# Specifics

Avoid usage of ValueType generic types for Task to increase cross-platform compatibility.

For example to wrap Int typedef IntObject = Null<Int>; would be enough.

Options

  • -debug: generates uid for each task, track additional position information for created tasks/triggers
  • -D tasklib_trace enables tracing of tasks execution