Registry / async / carno-php-promise

carno-php-promise

JSON →
library1.0.1phppackagistunverified

A lightweight promise implementation for asynchronous PHP operations.

composer require carno-php/promise
INSTALL
IMPORT
SIG · CARNO-PHP-PROMISE
C
carno-php-promise
asyncphpv1.0.1
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
use Carno\Promise\Promise;

Create and resolve a promise.

use Carno\Promise\Promise; $promise = new Promise(function ($resolve, $reject) { $resolve('Hello, World!'); }); $promise->then(function ($value) { echo $value; });
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
carno-php-promise — pip install carno-php-promise · libregistry