From a33d555f41d9d8de2a59303320831ba48fcba742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Garc=C3=ADa?= Date: Sun, 29 Sep 2024 13:23:28 +0200 Subject: [PATCH] Update README.md The property name is executeOnce not evaluateOnce --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cbf520d..561c8a6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ There are two ways of declaring a state logic: States contain the machine logic of the program. The machine only evaluates the current state until a transition occurs that points to another state. -To evaluate a piece of code only once while the machine is in a particular state, you can use the machine.evaluateOnce attribute. It is true each time the machine enters a new state until the first transition is evaluated. +To evaluate a piece of code only once while the machine is in a particular state, you can use the machine.executeOnce attribute. It is true each time the machine enters a new state until the first transition is evaluated. ## TRANSITIONS Each state has transitions defined in setup(). Transitions require two parameters,