@PeterSommerlad Sorry for the late reply.
My account works fine with Mastoot today, does the issue still exist on your side?
Developer of Mastoot, servant of three cats, a human being from Earth.
@PeterSommerlad Sorry for the late reply.
My account works fine with Mastoot today, does the issue still exist on your side?
@mattiem OK I could have a try. But this code path is super early, there's no much code run before it.
@mattiem I can't reproduce it in local, so help from debugging tools are unavailable. 🤷♂️
@bigzaphod Is OSLog Logger Sendable? https://forums.developer.apple.com/forums/thread/747816?answerId=781922022#781922022
So `@ preconcurrency` seems legit…
@MoritzGiessmann is 5,000. 😂 I guess. somehow it’s a good number.
@jjoelson @shadowfacts @mattiem Even you somehow get these tasks executing in order, if I understand correctly, the actor has also no guarantee for the order of awaited `update(offset:)` calls.
> This is conceptually similar to a serial DispatchQueue, but with an important difference: tasks awaiting an actor are not guaranteed to be run in the same order they originally awaited that actor.
https://github.com/apple/swift-evolution/blob/main/proposals/0306-actors.md#actor-isolation
⏰ Friendly reminder that Swift 6 is right around the corner and that you can start getting your app ready for the big release!
⚠️ There are some source incompatible changes behind feature flags you can start adopting now!
https://www.polpiella.dev/enable-upcoming-swift-features-in-spm
I'm officially starting an iOS/macOS developer meetup in Kansai, Japan! "Swift Kansai" will hold its first meeting on June 30th to chat about everything Apple announced at WWDC. If you're in the area come join us!!
@mattiem This is what I'm actually want to achieve, store table view content offset to disk. I assume I should do file writing in detached task since it may be time consuming and blocking main thread.
In my experiments, this code snippet work good for debounce, I do only get the last result every time the table view scrolls.
Order seems good too since task creation and cancellation all happens on main actor.
My only concern is how much resource will cost by those task creations.
@duncandesi9n Great! And could you open TestFlight even when the app hasn’t fully developed yet? (not mean right now but I really want to see the UI in action!)
@duncandesi9n This looks so good! But I can’t find Dexie on App Store, how can I catch the app? 👀
Running good again!