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: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,20 @@
1
+
**v0.5.0 - Carbon:**
2
+
3
+
This version brings a lot of internal refactoring and breaking changes + some new operators.
4
+
5
+
Now `swift-async-algorithms` has been anounced, this library can be seen as a companion for the Apple repo.
6
+
For now there is an overlap between both libraries, but when `swift-async-algorithms` becomes stable the overlapping operators while be deprecated in `AsyncExtensions`.
7
+
8
+
Nevertheless `AsyncExtensions` will continue to provide the operators that the community needs and are not provided by Apple.
9
+
10
+
-`AsyncBufferedChannel`/`AsyncThrowingBufferedChannel`: is the equivalent to `AsyncChannel` from Apple. The difference is that back-pressure is handled with a stack and the send operation is not suspending.
11
+
- Subjects: the `subject` suffix has been adopted to all the "hot" `AsyncSequence` with a shared output. A throwing counterpart has been added.
12
+
-`zip` and `merge` are top level functions to match Apple repo.
13
+
-`AsyncThrowingJustSequence`: an `AsyncSequence` that takes a throwing closure to compute the only element to emit.
14
+
-`AsyncStream.pipe()`: creates and `AsyncStream` by escaping the `Continuation` and returning a tuple to manipulate the inputs and outputs of the stream.
15
+
-`mapToResult()`: maps events (elements or failure) from an `AsyncSequence` to a `Result`. The resulting `AsyncSequence` cannot fail.
16
+
-`AsyncLazySequence`: is a renaming to match Apple repo for creating an `AsyncSequence` from a `Sequence`.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ Include `"AsyncExtensions"` as a dependency for your executable target:
28
28
29
29
Finally, add `import AsyncExtensions` to your source code.
30
30
31
+
## Features
32
+
31
33
### Channels
32
34
*[AsyncBufferedChannel](./Sources/AsyncChannels/AsyncBufferedChannel.swift): Buffered communication channel between tasks. The elements are not shared and will be spread across consumers (same as
0 commit comments