Stream library for Haxe.

Released 2017-01-09.

To install, run:

haxelib install 0.6.1

See using Haxelib in Haxelib documentation for more information.

Current version0.6.1
StatisticsInstalled 274 times
Tags async, cross, stream, thx

Build Status

Streaming library


From the command line just type:

haxelib install

To use the dev version do:

haxelib git thx.core


  • 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:
  • query methods any all contains memberOf