with-tramp-progress-reporter

with-tramp-progress-reporter is a Lisp macro in `tramp.el'.

(with-tramp-progress-reporter VEC LEVEL MESSAGE &rest BODY)

Executes BODY, spinning a progress reporter with MESSAGE.
If LEVEL does not fit for visible messages, there are only traces
without a visible progress reporter.