+5
-16
README.md
+5
-16
README.md
···-A fast push & pull stream library for Reason, loosely following the [callbag spec](https://github.com/callbag/callbag)-> If you're looking for v3, [please check the `v3.2.2`](https://github.com/kitten/wonka/tree/v3.2.2)+> **NOTE:** The currently released version v6 is only compatible now with TypeScript, Flow, and JavaScript.+> If you're looking for Reason/OCaml/esy/dune support, please check v5, and if you're looking for the legacy version···the [callbag spec](https://github.com/callbag/callbag). It exposes a set of helpers to create streams,-Wonka is written in [Reason](https://reasonml.github.io/), a dialect of OCaml, and can hence be used-for native applications. It is also compiled using [BuckleScript](https://bucklescript.github.io) to plain-JavaScript and has typings for [TypeScript](https://www.typescriptlang.org/) and [Flow](https://flow.org/).
+37
-328
docs/api/operators.md
+37
-328
docs/api/operators.md
······`combine` two sources together to a single source. The emitted value will be a combination of the two sources, with all values from the first source being emitted with the first value of the second source _before_ values of the second source are emitted.···`concat` will combine two sources together, subscribing to the next source after the previous source completes.············`concatMap` allows you to map values of an outer source to an inner source. The sink will not dispatch the `Pull` signal until the previous value has been emitted. This is in contrast to `mergeMap`, which will dispatch the `Pull` signal for new values even if the previous value has not yet been emitted.·········`filter` will remove values from a source by passing them through an iteratee that returns a `bool`.···`map` will transform values from a source by passing them through an iteratee that returns a new value.···············Run a callback when the `End` signal has been sent to the sink by the source, whether by way of the talkback passing the `End` signal or the source being exhausted of values.-/* Logs ResolveOne after one second, then ResolveTwo after an additional second, then onEnd immediately. */···// Logs ResolveOne after one second, then ResolveTwo after an additional second, then onEnd immediately.·································Skip values emitted from the source while they return `true` for the provided predicate function.············`take` only a specified number of emissions from the source before completing. `take` is the opposite of `skip`.············Take emissions from the stream while they return `true` for the provided predicate function. If the first emission does not return `true`, no values will be `Push`ed to the sink.······
+7
-93
docs/api/sinks.md
+7
-93
docs/api/sinks.md
···`subscribe` accepts a callback function to execute when data is received from the source, in addition to the source itself.·········In this example we're using [`onPush`](./operators.md#onpush) to pass a callback to react to incoming············
+13
-150
docs/api/sources.md
+13
-150
docs/api/sources.md
························`fromObservable` transforms a [spec-compliant JS Observable](https://github.com/tc39/proposal-observable) into a source.···`fromCallbag` transforms a [spec-compliant JS Callbag](https://github.com/callbag/callbag) into a source.···············
+27
-27
docs/basics/architecture.md
+27
-27
docs/basics/architecture.md
············
+6
-15
docs/index.md
+6
-15
docs/index.md
···It also comes with many operators that users from [RxJS](https://github.com/ReactiveX/rxjs) will be used to.-Wonka is written in [Reason](https://reasonml.github.io/), a dialect of OCaml, and can hence be used-for native applications. It is also compiled using [BuckleScript](https://bucklescript.github.io) to plain-JavaScript and has typings for [TypeScript](https://www.typescriptlang.org/) and [Flow](https://flow.org/).+Wonka used to be written in [Reason](https://reasonml.github.io/),, a dialect of OCaml, and was usable+If you're looking for the legacy version that supported this, you may want to install v4 or v5 rather
+17
docs/migration.md
+17
docs/migration.md
···
-30
gatsby/theme.css
-30
gatsby/theme.css
···-url(https://fonts.gstatic.com/s/spacemono/v4/i7dNIFZifjKcF5UAWdDRYERMR3K_MQacbw.woff2) format('woff2');-url(https://fonts.gstatic.com/s/spacemono/v4/i7dPIFZifjKcF5UAWdDRYEF8RXi4EwQ.woff2) format('woff2');
-50
gatsby/theme.js
-50
gatsby/theme.js
···
-15
gatsby/typography.js
-15
gatsby/typography.js
···