Registry / async / ucoro
library1.0vcpkgunverified

It is a minimized C++20 coroutine library.

vcpkg install ucoro
INSTALL
IMPORT
SIG · UCORO
U
ucoro
asynccppv1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ucoro/awaitable.hpp
#include <ucoro/awaitable.hpp>

Define and run a simple coroutine

#include <ucoro/awaitable.hpp> #include <iostream> ucoro::awaitable<int> compute() { co_return 42; } int main() { auto result = ucoro::sync_wait(compute()); std::cout << result << std::endl; return 0; }
Debug
Known issues
gotchaRequires C++20 and a compiler with coroutine support (GCC 10+, Clang 14+, MSVC 2019 16.8+).
fix
Set CMAKE_CXX_STANDARD to 20 and use a compatible compiler.
affects: *
Upgrade
Version history
1.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
Resources

No resource links recorded.

ucoro — pip install ucoro · libregistry