2017 © Pedro Peláez
 

library loop

Kraken Framework Loop Component.

image

kraken-php/loop

Kraken Framework Loop Component.

  • Thursday, May 11, 2017
  • by khelle
  • Repository
  • 1 Watchers
  • 4 Stars
  • 2,719 Installations
  • PHP
  • 18 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 13 % Grown

The README.md

Kraken Loop Component

Build Status Total Downloads Latest Stable Version Latest Unstable Version License Kraken Compatible, (*1)

Note: This repository is a part of Kraken Framework, but can be used freely as standalone library. If you are interested in more asynchronous components for PHP, check out the rest of [Kraken repository][5] or see our asynchronous application skeleton example., (*2)

Description

Loop is a component that provides abstraction layer for writing asynchronous code in PHP on single thread or process with usage of single or multiple loops., (*3)

Feature Highlights

Loop features:, (*4)

  • Interface for writing asynchronous code on single Thread or Process,
  • File descriptor polling,
  • One-time and periodic timers,
  • Deferred execution of callbacks,
  • Support for StreamSelect -based loops,
  • ~~Support for LibEvent -based loops~~,
  • ~~Support for LibEv -based loops~~,
  • ~~Support for ExtEvent -based loops~~,
  • Support for using multiple loops with multiple execution flows,
  • Support for switching between loops and importing/exporting its unfinished queues,
  • ReactPHP compatibility,
  • ReactPHP EventLoop adapters,
  • Kraken Framework compatibility,
  • ...and more.

Examples

See more examples in official documentation., (*5)

Requirements

  • PHP-5.6 or PHP-7.0+,
  • UNIX or Windows OS.

Installation

composer require kraken-php/loop

Tests

Tests are provided within our write-only Framework repository., (*6)

Documentation

Documentation for this module can be found in the official documentation., (*7)

Contributing

This library is read-only subtree split of Kraken Framework. To make contributions, please go to Framework repository., (*8)

License

This library licensed under the MIT license, see more information in Kraken Framework license section., (*9)

The Versions

11/05 2017

dev-master

9999999-dev http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

11/05 2017

0.4.x-dev

0.4.9999999.9999999-dev http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

11/05 2017

v0.4.1

0.4.1.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

07/05 2017

v0.4.0

0.4.0.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

13/10 2016

0.3.x-dev

0.3.9999999.9999999-dev http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

13/10 2016

v0.3.2

0.3.2.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

13/10 2016

v0.3.3

0.3.3.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

28/09 2016

v0.3.1

0.3.1.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev

16/09 2016

v0.3.0

0.3.0.0 http://kraken-php.com

Kraken Framework Loop Component.

  Sources   Download

MIT

The Requires

 

loop asynchronous async event libevent event-loop kraken kraken-php libev