Releases: nanoporetech/data-rambler
Releases · nanoporetech/data-rambler
0.2.9
0.2.8
Introduce a micro debounce into the stream combiner. Helps resolve timing issues where multiple streams with different depths are being synchronously combined.
0.2.7
Fixes an issue with error channels not being observable, and updates the error propagation behaviour so that derived streams can also be observed for source errors
compare and sort functions added to runtime
compare
two numbers or two strings to determine if they are equal (0), a > b (1) or b > a (-1)sort
an array using an optional function predicate for example:
Field-based sort
let data = [{'x': 6}, {'x': 1}, {'x': 3}]
let sorted = $sort($data, fn ($a, $b) { $compare($a.x, $b.x) });
Common case
let data = [6, 1, 3]
let sorted = $sort($data, $compare); // where compare takes strings or numbers
...or simply omit the $compare
predicate to take advantage of builtin Array.sort
behaviour
0.2.5
evaluate_module
now accepts an optionalupdate
argument to hot reload a module ( this only really works correctly if you are using 1 module ).- Introduce
Runtime.prototype.dispose()
to allow cleanup of internal stream bindings. - Add
Emitter.prototype.get_value()
for accessing the current value of an Emitter.
0.2.4
bump version
0.2.3
bump versions
0.2.2
version 0.2.2 - allow Emitter.Combine to accept Output values - make Emitter public - make basic AST types public
0.2.1
bump maintenance version
0.2.0
chore; update dependencies and version - bump deps to latest - fix lint issue - fix rollup config - bump minor version