Search by

presentkim / awaitable-promise

PresentKim

This package is abandoned and no longer maintained. The author suggests using the presentkim/await-utils package instead.

Provides a wrapper class for Promise with Generator exporting and Throwable handlers for axolotl-pm/PocketMine-MP

Package info

github.com/presentkim-pm/awaitable-promise

pkg:composer/presentkim/awaitable-promise

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

2.0.0 2026-11-27 03:55 UTC

This package is auto-updated.

Last update: 2026-12-02 02:33:52 UTC


README

Important

This library moved to await-utils together with await-sleep, await-command and awaitable-promise. This repository is archived and gets no more updates.

Moving to await-utils

composer remove presentkim/awaitable-promise
composer require presentkim/await-utils

Then replace the namespace in your code. Class, method and function names are unchanged.

awaitable-promise await-utils
kim\present\awaitablepromise\AwaitablePromise kim\present\awaitutils\AwaitablePromise

await-utils also adds AwaitSleep::timeout() and AwaitSleep::seconds(). See its README and changelog.

The last release of this library (2.0.0) keeps working; its code is still in this repository and on Packagist.

License

Distributed under the MIT License. See LICENSE for more information.