If I start a receiver to fire every hour....
how can I test that it has been started?
I tried ispaused(myReceiver) but that returns True whether I've done the above code or not (makes sense).
I could add a Boolean called Started in the receiver and keep careful tabs on whether it returns true of false but that means I have to explicitly set it. Is there a way I'm missing?
Also if the receiver has actually been set, can I cancel it? Again I could get it to be skipped using the boolean value but is there's an easier way...?
TIA
B4X:
Dim t As Long = DateTime.Now + 60 * DateTime.TicksPerMinute 'Fire the next receiver in 60 minutes from now
StartReceiverAt (MyReceiver, t, True)
how can I test that it has been started?
I tried ispaused(myReceiver) but that returns True whether I've done the above code or not (makes sense).
I could add a Boolean called Started in the receiver and keep careful tabs on whether it returns true of false but that means I have to explicitly set it. Is there a way I'm missing?
Also if the receiver has actually been set, can I cancel it? Again I could get it to be skipped using the boolean value but is there's an easier way...?
TIA
Last edited: