Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fponticelli/thx.stream
Streaming library
https://github.com/fponticelli/thx.stream
Last synced: 15 days ago
JSON representation
Streaming library
- Host: GitHub
- URL: https://github.com/fponticelli/thx.stream
- Owner: fponticelli
- License: mit
- Created: 2014-09-01T02:55:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-16T21:20:46.000Z (over 5 years ago)
- Last Synced: 2023-03-12T23:51:00.592Z (over 1 year ago)
- Language: Haxe
- Homepage: http://thx-lib.org
- Size: 377 KB
- Stars: 11
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#thx.stream
[![Build Status](https://travis-ci.org/fponticelli/thx.stream.svg)](https://travis-ci.org/fponticelli/thx.stream)
Streaming library
## install
From the command line just type:
```bash
haxelib install thx.stream
```To use the `dev` version do:
```bash
haxelib git thx.core https://github.com/fponticelli/thx.stream.git
```TODO
====
* endWhen(other: Stream): Stream (from xstream): Uses another stream to determine when to complete the current stream. When the given other stream emits an event or completes, the output stream will complete. Before that happens, the output stream will behaves like the input stream.
* recover(other: Stream): Stream: if the stream ends with an error it is replaced by `other`
* compose (from xstream): Passes the input stream to a custom operator, to produce an output stream. compose is a handy way of using an existing function in a chained style. Instead of writing outStream = f(inStream) you can write outStream = inStream.compose(f).
* remember() (from xstream): Returns an output stream that behaves like the input stream, but also remembers the most recent event that happens on the input stream, so that a newly added listener will immediately receive that memorised event.
* imitate: https://github.com/staltz/xstream#imitate
* query methods
* any
* all
* contains
* memberOf