2019-09-02 00:01:26 +02:00
.github Add contribution templates 2018-03-09 03:34:43 +01:00
cmake Add regex to match AppleClang compiler 2019-05-24 02:33:14 +02:00
dep Update submodules 2019-08-31 03:31:25 +02:00
doc Reflow the license text 2019-01-04 13:39:46 +01:00
examples Reflow the license text 2019-01-04 13:39:46 +01:00
include/continuable Use a promise<> for work rather than a dedicated work_base 2019-09-02 00:01:26 +02:00
test Use a promise<> for work rather than a dedicated work_base 2019-09-02 00:01:26 +02:00
tools Add ccache, add travis cache 2019-05-24 17:39:48 +02:00
.clang-format Rearrange the internal headers 2018-11-18 18:46:15 +01:00
.clang-tidy Some minor improvements to clang-tidy 2018-01-30 05:15:19 +01:00
.editorconfig Split the header into multiple files 2017-09-24 19:55:58 +02:00
.gitattributes Update editor, formatting and CI files 2017-09-21 23:29:21 +02:00
.gitignore Move some methods out of the attorney 2018-11-24 15:02:23 +01:00
.gitmodules Initial work on benchmarking 2018-11-18 17:46:24 +01:00
.travis.yml Add ccache, add travis cache 2019-05-24 17:39:48 +02:00
appveyor.yml Use new types instead of aliases for type erasures 2019-01-04 13:12:48 +01:00
CMakeLists.txt Remove ccache 2019-05-24 17:39:48 +02:00
conanfile.py Add a conanfile 2019-01-29 20:28:09 +01:00
Findcontinuable.cmake Rework the find_package() support 2018-12-11 04:30:58 +01:00
LICENSE.txt Happy new year! 2019-01-04 13:35:44 +01:00
Readme.md Link the MeetingC++ talk in the readme 2019-02-26 16:01:20 +01:00

Continuable

Current version Travic-CI build status AppVeyor CI status MIT Licensed Documentation Try continuable online Compiler explorer


Continuable is a C++14 library that provides full support for:

  • lazy async continuation chaining based on callbacks (then) and expression templates, callbacks are wrapped nicely as promises.
  • no enforced type-erasure which means we need less heap allocations than comparable libraries, strictly following the "don't pay for what you don't use" principle.
  • support for all, any and sequential connections between continuables through expressive operator overloads &&, || and >> as well as free functions when_all, when_any and when_seq.
  • asynchronous error handling through exceptions, error codes and user defined types.
  • syntactic sugar for instance: partial invocation, tuple unpacking, co_await support and executors.
  • encapsuled from any runtime, larger framework or executors makes it possible to use continuable even in smaller or esoteric usage scenarios.

Getting started:

The documentation offers everything you need:

Appearances:

MeetingC++ 2018 Talk
Continuable MeetingC++]

Issues and contributions

Issue reports are accepted through the Github issue tracker as well as Pull requests. Every contribution is welcome! Don't hesitate to ask for help if you need any support in improving the implementation or if you have any troubles in using the library.