FITFLOP
Home

swift-concurrency (4 post)


posts by category not found!

Thread safe combine publisher to AsyncStream

Understanding Thread Safe Combine Publisher to Async Stream In modern programming especially in Swift dealing with asynchronous data streams can be challenging

2 min read 22-10-2024 20
Thread safe combine publisher to AsyncStream
Thread safe combine publisher to AsyncStream

Capture of variable with non-sendable type NSImage in a '@Sendable closure'

Understanding the Capture of Variable with Non Sendable Type NS Image Error in Swift When working with asynchronous code in Swift you might encounter the error

2 min read 03-10-2024 28
Capture of variable with non-sendable type NSImage in a '@Sendable closure'
Capture of variable with non-sendable type NSImage in a '@Sendable closure'

swift testing ObservableObject and waiting for async operation before assertions

Mastering Asynchronous Testing in Swift UI Testing Observable Objects with Async Operations Testing Swift UI views that rely on asynchronous operations and Obse

2 min read 03-10-2024 27
swift testing ObservableObject and waiting for async operation before assertions
swift testing ObservableObject and waiting for async operation before assertions

Store a reference to a TaskGroup or add to it outside of scope

Storing and Accessing Task Groups Outside Their Scope in Python A Comprehensive Guide Often when working with asynchronous tasks in Python you might need to acc

3 min read 01-10-2024 33
Store a reference to a TaskGroup or add to it outside of scope
Store a reference to a TaskGroup or add to it outside of scope