Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Demo console app - issue with stream not progressing (different issue) #53

Answered by psollberger
InTheta asked this question in Q&A
Discussion options

You must be logged in to vote

Your code in (I guess) the console app ...

await Setup();
Subscribe(); // not awaited
ExitEvent.WaitOne();

... is wrong. The // not awaited part is wrong.

This works:

await Setup();
await Subscribe();

Your usage of async/await somehow produces a dead-lock.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

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

@psollberger
Comment options

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
Converted from issue

This discussion was converted from issue #52 on August 28, 2022 06:23.