currentWorkCompleted() Waits for all previous work encoded to this stream to be complete. Declarationfinal func currentWorkCompleted() async