Skip to content
Discussion options

You must be logged in to vote

Hey @acosmicflamingo! You should probably model this stream as a DependencyKey that produces an AsyncStream<UIInterfaceOrientation>. When testing, your can replace the notification-based sequence with one AsyncStream that you control. You can look at the long-living Effect case-study and its tests to see how it can be achieved. Being able to update at distance dependencies when testing is one of the key features of the Dependencies module.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by acosmicflamingo
Comment options

You must be logged in to vote
2 replies
@andwrobs
Comment options

@acosmicflamingo
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants