From d697747759df35a2f645faba187b2b93a03b5c42 Mon Sep 17 00:00:00 2001 From: "Tomas Alejandro V. Falgui III" Date: Thu, 13 Jun 2024 18:36:30 +0800 Subject: [PATCH] Update `onDone` property Add multiple target note --- docs/invoke.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/invoke.mdx b/docs/invoke.mdx index 188bcb29..7189dd3d 100644 --- a/docs/invoke.mdx +++ b/docs/invoke.mdx @@ -246,6 +246,7 @@ const actor = createActor( - Transitions when invoked actor is complete - Event object `output` property is provided with actor's output data - Not available for callback actors +- Multiple targets are permissible, provided they are accompanied by guards. :::warning Don't get the `onDone` property on a state confused with `invoke.onDone` - they are similar transitions, but refer to different things.