PSA: If you're using Approachable Concurrency and MainActor isolation… #3769
-
The feature that seems to actually cause drama is: If you have everything in packages, not enabling this seems to work smoothly. i.e. I have the following enabled:
This is equivalent to Approachable Concurrency and MainActor default isolation except for Beta season ends soon, I don't know where that will leave us. It's been a very rough year. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @ryanbooker, thanks for the info! Can you provide more info of what was failing to build before you switched to these settings? And can you confirm that even enum reducers work with this set up? This issue #3768 states some problems with enum reducers that we need to look into soon. |
Beta Was this translation helpful? Give feedback.
I worked out the issue… I had completely forgotten about the new
@concurrent
option…With
NonisolatedNonsendingByDefault
enabled, .e.g. when using Approachable Concurrency, you need to makenonisolated
client closures@concurrent @Sendable
.No more crashes.