2017 © Pedro Peláez
 

library rx

image

api-clients/rx

  • Saturday, July 14, 2018
  • by WyriHaximus
  • Repository
  • 1 Watchers
  • 1 Stars
  • 19,272 Installations
  • PHP
  • 16 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 15 % Grown

The README.md

RxPHP utilities for PHP 7

Build Status Latest Stable Version Total Downloads Code Coverage License PHP 7 ready, (*1)

Installation

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ^., (*2)

composer require api-clients/rx 

Usage

Unwrap an observable from a promise:, (*3)

use function ApiClients\Tools\Rx\unwrapObservableFromPromise;

$observable = Observable::fromArray(['a', 'b']);
$promise = resolve($observable);

/**
 * Outputs: ab
 */
unwrapObservableFromPromise($promise)->subscribe(function ($d) {
    echo $d;
});

License

The MIT License (MIT), (*4)

Copyright (c) 2017 Cees-Jan Kiewiet, (*5)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*6)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*7)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*8)

The Versions

14/07 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

10/07 2018

dev-dependabot/composer/api-clients/test-utilities-5.0.0

dev-dependabot/composer/api-clients/test-utilities-5.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

04/10 2017

2.2.1

2.2.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

26/08 2017

2.2.0

2.2.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

26/08 2017

dev-function-setAsyncScheduler

dev-function-setAsyncScheduler

  Sources   Download

MIT

The Requires

 

The Development Requires

07/05 2017

2.1.0

2.1.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

22/03 2017

2.0.0

2.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

22/03 2017

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires