You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ns=awaitnats.connect("localhost:4222")
awaitns.cron.set("my_periodic_task_id", "*/1 * * * *", "my_topic", "my message".encode())
awaitns.cron.set("my_one-shot_task_id", "2025-04-20T18:40:00+02:00", "my_topic", "my message".encode())
task=awaitns.cron.get("my_one-shot_task_id")
awaitns.cron.del("my_periodic_task_id")
When these tasks are one shot they should be automatically be removed after triggering and sending their message to the target topic.
Use case
In case we are dealing with timed events that need to be processed. For example when we are dealing with calendar (ical) events or having to send out emails etc...
Contribution
I'm not familiar with the NATS code base but would be happy to contribute with support.
The text was updated successfully, but these errors were encountered:
Proposed change
Something like this would be sooooo helpful:
When these tasks are one shot they should be automatically be removed after triggering and sending their message to the target topic.
Use case
In case we are dealing with timed events that need to be processed. For example when we are dealing with calendar (ical) events or having to send out emails etc...
Contribution
I'm not familiar with the NATS code base but would be happy to contribute with support.
The text was updated successfully, but these errors were encountered: