Search by

presentkim / await-sleep

PresentKim

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

Provides a fake asleep() function for await-generator for axolotl-pm/PocketMine-MP

Package info

github.com/presentkim-pm/await-sleep

pkg:composer/presentkim/await-sleep

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

2.0.0 2026-11-27 03:54 UTC

This package is auto-updated.

Last update: 2026-12-02 02:33:27 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/await-sleep
composer require presentkim/await-utils

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

await-sleep await-utils
kim\present\awaitsleep\AwaitSleep kim\present\awaitutils\AwaitSleep
kim\present\awaitsleep\asleep() kim\present\awaitutils\asleep()

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.