Observable::of(Observable::fromArray([1, 2, 3, 4, 5]))
->filter(\Rx\is(Observable::class))
->mergeAll()
->filter(\Rx\notEqualTo(2))
->filter('rx\even')
->reduce('rx\add')
->map(\Rx\p('rx\mult', 3))
->map(\Rx\p('rx\sub', 2))
->map(\Rx\p('rx\concatLeft', 'total: '))
->compose(\Rx\echoFinally('Test '))
->subscribe(\Rx\echoObserver('Test '));
//Test Next value: total: 10
//Test Complete!
//Test Finally!
-
Notifications
You must be signed in to change notification settings - Fork 0
RxPHP/RxHelpers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A collections of functions for use with RxPHP
Resources
Stars
Watchers
Forks
Packages 0
No packages published