Skip to content

Commit 4b22f32

Browse files
committed
callback
1 parent 73f6421 commit 4b22f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/agents/examples/schedule-tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class SchedulingAgent extends Agent {
3939

4040
:::caution
4141

42-
Tasks that set a callback for a method that does not exist wil throw an exception.
42+
Tasks that set a callback for a method that does not exist will throw an exception: ensure that the method named in the `callback` argument of `this.schedule` exists on your `Agent` class.
4343

4444
:::
4545

0 commit comments

Comments
 (0)