Closed lablabla closed 2 years ago
Examine if this is fairly straightforward and add to the current release if so.
Actually, this literally turns out to be a oneliner, I've added a defaulted extra parameter to the constructor called oneTime
Will be released as soon as testing is concluded on a range of boards.
Amazing. Hopefully I can get around to using it this weekend Thanks a lot for the quick support!
Hi,
I have a need for a
TmLongSchedule
but it should only run once. Is there a reason for not having such option?Currently I'm thinking of doing something like this. Storing the created task id, and inside the lambda function, retrieve it and cancel the task
It seems to work but it seems like a relatively hacky way of doing this, considering for "short" schedule there exists a
scheduleOnce
Is there a better way of doing this that I'm missing?
Thanks for this great project!