Showing a spinner in a device handler

(David) #1

I want to try and write some retry logic around something, might take a second or two, how do you show a spinner? I know it’s possible in the app because I’ve seen it in other parts of the app, is there a built in spinner you can initialize, run a long running command, then hide the spinner or loading icon?