That’s correct, yes.
The semantic rule has always been that the task is not resumed until both resume is called and the closure has returned.
If resume is called synchronously, the task is not suspended at all.
That’s correct, yes.
The semantic rule has always been that the task is not resumed until both resume is called and the closure has returned.
If resume is called synchronously, the task is not suspended at all.