Is it possible to show your task in the Background Tasks window?

I am starting to learn the UI Toolkit and I can see that the samples for editor UI don’t contain any animation. I suspect that maybe it’s something undesirable from performance standpoint. At the same time, I remember a case when I needed to display that a web request from custom editor code was in progress. Now, that Unity has this wonderful Background Tasks window, I was wondering if there is a public API to use it?

(I tried searching but no luck. I found APIs to display progress bars but this is not perfect for an indefinite task.)

Unity - Scripting API: Progress (unity3d.com)
It has options that include indefinite tasks.
Progress.Options.Indefinite