swift-async-algorithms icon indicating copy to clipboard operation
swift-async-algorithms copied to clipboard

Async Algorithms for Swift

Results 70 swift-async-algorithms issues
Sort by recently updated
recently updated
newest added

Would the team take any exception to a proposal to add a method to `AsyncBufferedByteIterator` that could copy more than one byte at a time to an `UnsafeMutableRawBufferPointer` or similar?...

Post: https://forums.swift.org/t/pitch-map-error/75422 Pretty much the same as [Combine.Publisher.mapError](https://developer.apple.com/documentation/combine/publisher/maperror(_:)) but for AsyncSequence. This enables you to do something like this: ```swift let sequence = myAsyncSequence.mapError { MyGenericError(wrappedError: $0) } ```

``` warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target /Users/johannes/devel/my-project/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc ```

Hi, we need to be able to iterate over async sequence such that if the iteration does some async stuff & upstream happens to emit in the middle of it,...

fixes #316 The PR #311 introduced `Context.environment`, so that swift-async-algorithm can no longer be used in the Swift Playgrounds. However, `Context.environment` is [equivalent to `ProcessInfo.processInfo.environment`](https://github.com/swiftlang/swift-package-manager/blob/80b1e179bef19e6eb71b0d20b2cb471053ae1b2c/Sources/PackageLoading/ContextModel.swift#L24), so this is an unnecessary...

There have been two 'releases' since `1.0`, `1.0.1` and now `1.0.2` but only via tags. There have been no GitHub releases. This means no easily viewable changelog, no notification for...

I know there's ongoing discussion about `throttle` semantics, but this is an API I can see being useful even while the final throttle API is being nailed down. Also correct...

Hi there, I was looking for some equivalent to [Combine's prepend](https://developer.apple.com/documentation/combine/publisher/prepend(_:)-v9sb) operator but I didn't find anything. Is there any plan to introduce this feature into the structured concurrency world?...