minor stuff

This commit is contained in:
Denis Blank 2017-09-29 01:24:33 +02:00
parent 9ed0adbab7
commit 98936f6972
2 changed files with 13 additions and 0 deletions

View File

@ -89,6 +89,10 @@ template <typename... Args>
using unique_callback = typename detail::unique_trait_of<
Args...
>::callback;
// TODO channel
// TODO sink
// clang-format on
} // end namespace cti

View File

@ -20,8 +20,17 @@
SOFTWARE.
**/
#include <string>
#include <continuable/continuable.hpp>
cti::continuable<std::string> http_request(std::string url) {
return [](cti::promise<std::string> promise) {
// ...
promise.set_value("");
};
}
int main(int, char**) {
return 0;
}