You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-22Lines changed: 21 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -166,34 +166,33 @@ let feedFromTwitter user pwd = taskSeq {
166
166
167
167
## Choosing between `AsyncSeq` and `TaskSeq`
168
168
169
-
The [`AsyncSeq`][11] and `TaskSeq`library both operate on asynchronous sequences, but there are a few fundamental differences, most notably that the former _does not_ implement `IAsyncEnumerable<'T>`, but has its own same-named, but differently behaving type. Another core difference is that `TaskSeq` uses `ValueTasks` for the asynchronous computations, and`AsyncSeq` uses F#'s `Async<'T>`.
169
+
The [`AsyncSeq`][11] and `TaskSeq`libraries both operate on asynchronous sequences, but there are a few fundamental differences. The most notable being that the former _does not_ implement `IAsyncEnumerable<'T>`, though it does have a type of that name with different semantics (not surprising; it predates the definition of the modern one). Another key difference is that `TaskSeq` uses `ValueTask`s for the asynchronous computations, whereas`AsyncSeq` uses F#'s `Async<'T>`.
|**Cancellation**| Implicit token governing iteration | Implicit token passed to each subtask |
190
+
|**Performance**| Very high, negligible allocations | Slower, more allocations, due to using `async`|
191
+
|**Parallelism**| Possible with ChildTask; support will follow | Supported explicitly |
193
192
194
193
## Status & planning
195
194
196
-
This project has stable features currently, but before we go full "version one", we'd like to complete the surface area. This section covers the status of that, with a full list of implmented functions below. Here's the short list:
195
+
This project has stable features currently, but before we go full "version one", we'd like to complete the surface area. This section covers the status of that, with a full list of implemented functions below. Here's the shortlist:
197
196
198
197
-[x] Stabilize and battle-test `taskSeq` resumable code. **DONE**
199
198
-[x] A growing set of module functions `TaskSeq`, see below for progress. **DONE & IN PROGRESS**
0 commit comments