Async++ unknown
Async (co_await/co_return) code for C++
Loading...
Searching...
No Matches
async_main.h File Reference

Provides a main function running a simple_dispatcher and awaits the function async_main, stopping after it is done. More...

#include <asyncpp/fire_and_forget.h>
#include <asyncpp/simple_dispatcher.h>
#include <asyncpp/task.h>
Include dependency graph for async_main.h:

Go to the source code of this file.

Functions

asyncpp::task< int > async_main (int argc, const char **argv)
 
int main (int argc, const char **argv)
 

Detailed Description

Provides a main function running a simple_dispatcher and awaits the function async_main, stopping after it is done.