Skip to content

Sync background thread to main thread in .NET Core console app? #1778

Answered by cabauman
artemiusgreat asked this question in Q&A
Discussion options

You must be logged in to vote

Working with a console app is a bit different than a GUI app in this regard. It doesn't have an event loop for Rx to work with. A solution shared here uses an EventLoopScheduler to fill in as a "main thread." Maybe that will work for your use case?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@artemiusgreat
Comment options

Answer selected by artemiusgreat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants