TickingPromise

Wrapping ticks into a promise

MIT License

Downloads
690.3K
Stars
6
Committers
3

Bot releases are visible (Hide)

TickingPromise - 3.1.0 Latest Release

Published by github-actions[bot] 12 months ago

Support react/promise v3 and add the required template types for it. Also raised the minimum PHP version to 8.2.

3.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 19
  • Total contributors: 3

Dependencies ๐Ÿ“ฆ,Enhancement โœจ

Dependencies ๐Ÿ“ฆ

Enhancement โœจ

TickingPromise - 3.0.0

Published by github-actions[bot] about 3 years ago

Major new release defaulting to using the global loop accessor that came with react/eventloop 1.2.

This changes current code from this:

<?php

declare(strict_types=1);

use ReactventLoop\Factory;

use function WyriHaximus\ReactuturePromise;

$loop = Factory::create();

futurePromise($loop)->then(static function (): void {
    echo 'Done', PHP_EOL;
});
futurePromise($loop)->then(static function (string $message): void {
    echo $message, PHP_EOL;
}, 'Also done');

$loop->run();

To this:

<?php

declare(strict_types=1);

use function WyriHaximus\ReactuturePromise;

futurePromise()->then(static function (): void {
    echo 'Done', PHP_EOL;
});
futurePromise()->then(static function (string $message): void {
    echo $message, PHP_EOL;
}, 'Also done');

No more passing in the loop to any of the functions

3.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 26
  • Total contributors: 2

Documentation ๐Ÿ“š,MarkDown ๐Ÿ“

Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,PHP ๐Ÿ˜,Source ๐Ÿ”ฎ,Tests ๐Ÿงช

Dependencies ๐Ÿ“ฆ,PHP ๐Ÿ˜

TickingPromise - 2.1.0

Published by github-actions[bot] almost 4 years ago

The release adds PHP 8 support!

PHP 8 Logo

2.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

CI ๐Ÿšง,Configuration โš™,Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,PHP ๐Ÿ˜,YAML ๐Ÿ„

TickingPromise - 2.0.0

Published by github-actions[bot] almost 4 years ago

Main features in this release are dropping PHP 5.x support and this adapting to all shiny PHP 7 features. The function nextPromise has also been removed in this release after being deprecated.

2.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 2

Dependencies ๐Ÿ“ฆ,PHP ๐Ÿ˜

Documentation ๐Ÿ“š,MarkDown ๐Ÿ“

CI ๐Ÿšง,Configuration โš™,Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,NEON ๐Ÿฆนโ€โ™‚๏ธ,PHP ๐Ÿ˜,Source ๐Ÿ”ฎ,Tests ๐Ÿงช,YAML ๐Ÿ„,enhancement

Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,PHP ๐Ÿ˜

TickingPromise - 1.6.3

Published by WyriHaximus over 6 years ago

  • Support event loop 0.5 part two
TickingPromise - 1.6.2

Published by WyriHaximus over 6 years ago

  • Support event loop 0.5 part one
TickingPromise - 1.6.1

Published by WyriHaximus over 8 years ago

TickingPromise - 1.6.0

Published by WyriHaximus almost 9 years ago

TickingPromise - 1.5.2

Published by WyriHaximus almost 9 years ago

  • Conditionally require functions.php
TickingPromise - 1.5.1

Published by WyriHaximus about 9 years ago

TickingPromise -

Published by WyriHaximus over 9 years ago

TickingPromise -

Published by WyriHaximus over 9 years ago

TickingPromise -

Published by WyriHaximus over 9 years ago

TickingPromise -

Published by WyriHaximus over 9 years ago

TickingPromise -

Published by WyriHaximus almost 10 years ago

TickingPromise -

Published by WyriHaximus almost 10 years ago

TickingPromise -

Published by WyriHaximus almost 10 years ago