Query status of currently scheduled handlers?

I searched the forums but couldn’t find anything that answered this.

Is there a way to query the current status of current scheduled handlers? I know that there is canSchedule() to test if another schedule can be added, but I’m trying to figure out if I can test to see which handlers are currently scheduled, when they were last run and when their next scheduled run is.

As you can probably guess, I’m trying to put in some defensive measures to deal with all the schedule handling but don’t want to constantly unschedule and then re-schedule all the time, especially since these are heavy operations.

1 Like

I’ve only seen this handled through state variables.

Me too. And that is the route I’m taking at the moment. But it would be much easier if there is a way to get at this info!

1 Like