PHPackages                             wyrihaximus/ticking-promise - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wyrihaximus/ticking-promise

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wyrihaximus/ticking-promise
===========================

⏲️ Wrapping ticks into a promise

3.1.0(2y ago)6852.9k—1.2%1[4 PRs](https://github.com/WyriHaximus/TickingPromise/pulls)20MITPHPPHP ^8.2

Since Dec 26Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/WyriHaximus/TickingPromise)[ Packagist](https://packagist.org/packages/wyrihaximus/ticking-promise)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-ticking-promise/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (23)Used By (20)

TickingPromise
==============

[](#tickingpromise)

[![Continuous Integration](https://github.com/wyrihaximus/TickingPromise/workflows/Continuous%20Integration/badge.svg)](https://github.com/wyrihaximus/TickingPromise/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/2e2faf8086e04b6db5a954984e226a476bdaa1aec9eeca3527234ffd179f3086/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f7469636b696e672d70726f6d6973652f762f737461626c652e706e67)](https://packagist.org/packages/wyrihaximus/ticking-promise)[![Total Downloads](https://camo.githubusercontent.com/874814e0091faaccc4ed14e1fa9ae43877ee214be560e0c832f3774a4544a3b7/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f7469636b696e672d70726f6d6973652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wyrihaximus/ticking-promise/stats)[![Code Coverage](https://camo.githubusercontent.com/995191d4771e3412d6dbbf475b7a1bcc6f77b9318a01702bcccd87ec1fcf9aa0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f57797269486178696d75732f5469636b696e6750726f6d6973652f62616467652e7376673f6272616e63686d6173746572)](https://coveralls.io/github/WyriHaximus/TickingPromise?branch=master)[![Type Coverage](https://camo.githubusercontent.com/7b62336c4290eed789f80d3ee90a88b81126a83855893db97a43196f9435def1/68747470733a2f2f73686570686572642e6465762f6769746875622f57797269486178696d75732f5469636b696e6750726f6d6973652f636f7665726167652e737667)](https://shepherd.dev/github/WyriHaximus/TickingPromise)[![License](https://camo.githubusercontent.com/458aea64b3fafc5bf63b6e48cefaa3dbc2bb7ba58d1b18d110fbc89039af7585/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f7469636b696e672d70726f6d6973652f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/ticking-promise)

Wrapping event loop ticks into a promise.

Install
-------

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require wyrihaximus/ticking-promise

```

Example
-------

[](#example)

```
