Skip to content

Progress reporting order guarantee question #1077

Answered by AArnott
rjacobw asked this question in Q&A
Discussion options

You must be logged in to vote

Great question.

Please find the answer in https://github.com/microsoft/vs-streamjsonrpc/blob/main/doc/progresssupport.md.

In short, yes the order is guaranteed, insofar as RPC is involved. In your contrived example, order is being lost within your own client code because the delegate you provided that prints the callbacks runs on the threadpool, which doesn't guarantee order.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rjacobw
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