add task kill method

This commit is contained in:
LolzTheDev
2024-07-19 19:36:12 -05:00
committed by GitHub
parent 74ee21ffc6
commit 4542c9263d

View File

@@ -26,4 +26,4 @@ export default scheduledTask({
The `trigger` is a cron tab pattern, you can edit and test one [here](https://crontab.guru/).
:::tip If you want to cancel a task in the future, you'll need to know it's name! :::
:::tip If you want to cancel a task in the future, you'll need to know it's name! `deps['@sern/scheduler'].kill(uuid)` will kill the task. :::