NIOThrowingAsyncSequenceProducer.AsyncIterator
should support isolated next call
#3114
Labels
area/performance
Improvements to performance.
To make iteration of AsyncSequences inside actors more performant the function
was added as an advanced implementation hook.
NIOThrowingAsyncSequenceProducer.AsyncIterator
would ideally implement it.Implementing this should be fairly easy as
isolation: isolated (any Actor)? = #isolation
needs to be added to all internal next calls until the internal lock is used. This only works with a Swift 6 compiler though.The text was updated successfully, but these errors were encountered: