Fork me on GitHub
#re-frame
<
2023-09-19
>
Ryan13:09:39

is there a way to get any info about the queue. of events dispatched with dispatch-later? we have some auth refresh events that may not be firing and I’m trying to get a handle on them.

djanus13:09:22

https://github.com/day8/re-frame/blob/master/src/re_frame/fx.cljc#L78-L82`setTimeout`, so not out of the box, but you can easily implement your own version of it that keeps track of the refresh events that are waiting.

❤️ 1
Ryan14:09:10

Thanks @UFR3C1JBU thats exactly the pointer I needed 🙂