Denis Blank 3bd4dd40de Fixate the args of the final callback
* Also allow to customize it through the
  CONTINUABLE_WITH_CUSTOM_FINAL_CALLBACK define.
  This can be used to implement custom unhandled
  exception handlers and more.
2018-12-29 06:25:49 +01:00
.github Add contribution templates 2018-03-09 03:34:43 +01:00
cmake Rework the find_package() support 2018-12-11 04:30:58 +01:00
dep Set the minimum required CMake version to 3.11 2018-12-12 17:46:16 +01:00
doc Fixate the args of the final callback 2018-12-29 06:25:49 +01:00
examples Introduce the continuable primitive header which supplies tags 2018-11-19 23:59:01 +01:00
include/continuable Fixate the args of the final callback 2018-12-29 06:25:49 +01:00
test Workaround for a MSVC required symbol link bug 2018-12-26 06:20:48 +01:00
tools Set the minimum required CMake version to 3.11 2018-12-12 17:46:16 +01: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 Set the minimum required CMake version to 3.11 2018-12-12 17:46:16 +01:00
appveyor.yml Fix a copy paste mistake 2018-03-12 09:48:09 +01:00
CMakeLists.txt Only disable specific top level project settings 2018-12-25 09:35:20 +01:00
Findcontinuable.cmake Rework the find_package() support 2018-12-11 04:30:58 +01:00
LICENSE.txt Happy new Year! 2018-01-04 01:45:09 +01:00
Readme.md Update the online compilers 2018-03-12 16:32:28 +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:

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.