We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AsyncChunksOfCountSequence
AsyncChunksOfCountSequence does not create chunks of 1 element each. Instead it creates 1 chunk of all elements.
for await chunk in ["1", "2", "3"].async.chunks(ofCount: 1) { print(chunk) }
Output:
["1", "2", "3"]
Likely due to this line not checking that result.count == count:
result.count == count
swift-async-algorithms/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift
Line 55 in b339466