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
We provide three hooks for triggering tasks from your frontend application:
21
+
22
+
-`useTaskTrigger` - Trigger a task from your frontend application.
23
+
-`useRealtimeTaskTrigger` - Trigger a task from your frontend application and subscribe to the run.
24
+
-`useRealtimeTaskTriggerWithStreams` - Trigger a task from your frontend application and subscribe to the run, and also receive any streams that are emitted by the task.
25
+
20
26
### useTaskTrigger
21
27
22
28
The `useTaskTrigger` hook allows you to trigger a task from your frontend application.
@@ -26,7 +32,7 @@ The `useTaskTrigger` hook allows you to trigger a task from your frontend applic
0 commit comments