Scheduling reminders #7253
jbockle
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I was setting up some reminders I asked myself "how could I specify a specific time of day for the reminder to tick"? Its actually quite simple! Just set the
dueTime
to a specific time of day, or the next day if it has already passed.One note, when implementing
IRemindable.ReceiveReminder
, if the reminder operation is long running, the reminder's period will only start after the operation has completed, causing the reminder period to shift after each reminder. To prevent that, discard the operation's task so it will continue in the background.Beta Was this translation helpful? Give feedback.
All reactions