Ji Sungbin06/26/2022, 11:14 AM
. This function tracks changes and requests invalidation in the while statement and remains suspended until new changes are made through
in the while statement.
if there is no scheduled task. The
is resumed in the invokeOnCompletion of a Job called
. Therefore, in order for
must be completed.
, which completes it, is used only in the
is not used. So where does
resume? I had the same concern a month ago, but I still haven’t solved it. (Job.cancel is also possible to call invokeOnComplete, but cancel is used only for lifecycle handling through Owner)