


Why the result is 0
CodePudding user response:
That's another thread, printed when Task might haven't startedCodePudding user response:
But if the
CodePudding user response:
0 f code: the Task is executed asynchronously, hasn't performed the Task you output x, of course is 0,Code: 2 floor for the task. The Result of value is a blocking operation, until the task performed to get the results, so can output the results correctly,