We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf5970 commit 541e17aCopy full SHA for 541e17a
docs/tasks/overview.mdx
@@ -37,7 +37,7 @@ import { helloWorldTask } from "./trigger/hello-world";
37
38
async function triggerHelloWorld() {
39
//This triggers the task and returns a handle
40
- const handle = await helloWorld.trigger({ message: "Hello world!" });
+ const handle = await helloWorldTask.trigger({ message: "Hello world!" });
41
42
//You can use the handle to check the status of the task, cancel and retry it.
43
console.log("Task is running with handle", handle.id);
0 commit comments