2017 © Pedro Peláez
 

library pool-poretni-cnysa-tcaer

image

voryx/pool-poretni-cnysa-tcaer

  • Thursday, December 22, 2016
  • by mbonneau
  • Repository
  • 2 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

React Loop Interface For Async Interop Loop

This library allows you use any async-interop loop with any library that requires the ReactPHP loop., (*1)

note: When all ReactPHP projects support the interop loop, this library will no longer be necessary., (*2)

Example

    //Create your async-interop loop

    $loop = new \Voryx\React\AsyncInterop\Loop();

    //Then use your ReactPHP loop like you normally would

    $client = stream_socket_client('tcp://127.0.0.1:1337');
    $conn = new React\Stream\Stream($client, $loop);
    $conn->pipe(new React\Stream\Stream(STDOUT, $loop));
    $conn->write("Hello World!\n");

    $loop->run();

The Versions

22/12 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Bonneau
by David Dan

22/12 2016