if you can handle it via a promise API you can jus...
# suitescript
c
if you can handle it via a promise API you can just pop up a jquery box w/ the .gif and close it when done