Registry / async / promise-cpp

promise-cpp

JSON →
library2.1.5vcpkgunverified

C++ promise/A+ library in JavaScript style

vcpkg install promise-cpp
INSTALL
IMPORT
SIG · PROMISE-CPP
P
promise-cpp
asynccppv2.1.5
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.

promise-cpp/promise.h
#include <promise-cpp/promise.h>

Creates and resolves a promise with a value.

#include "promise-cpp/promise.h" #include <iostream> int main() { auto p = promise::Promise<int>([](auto resolve, auto reject) { resolve(42); }); p.then([](int value) { std::cout << value << std::endl; }); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources

No resource links recorded.

promise-cpp — pip install promise-cpp · libregistry