You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it is possible but if someone is doing an image snapshot then yes it has to be on the MainActor but if someone wants to do a textual capture of url requests for example, I feel that shouldn't be required to run on the MainActor. Right now this line fails saying test observer can only be added or removed on the main thread which is also weird because it's already using a different queue. For context I'm using this with Quick/Nimble which changed everything to async with their last release so all tests run on the cooperative queue now unless moved to MainActor
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I don't know if it is possible but if someone is doing an image snapshot then yes it has to be on the
MainActor
but if someone wants to do a textual capture of url requests for example, I feel that shouldn't be required to run on theMainActor
. Right now this line fails sayingtest observer can only be added or removed on the main thread
which is also weird because it's already using a different queue. For context I'm using this withQuick/Nimble
which changed everything toasync
with their last release so all tests run on the cooperative queue now unless moved toMainActor
Beta Was this translation helpful? Give feedback.
All reactions