diff --git a/lib/POE/NFA.pm b/lib/POE/NFA.pm index 471c2f6e5..8d6e3011f 100644 --- a/lib/POE/NFA.pm +++ b/lib/POE/NFA.pm @@ -969,6 +969,11 @@ The C parameter allows C to be initialized differently at instantiation time. C, like heaps, are usually anonymous hashrefs, but C may set them to be array references or even objects. +State transitions are not necessarily executed immediately by default. Rather, +they are placed in POEs event queue behind any currently pending events. +Enabling the C option causes state transitions to occur immediately, +regardless of any queued events. + =head2 goto_state NEW_STATE[, ENTRY_EVENT[, EVENT_ARGS]] goto_state() puts the machine into a new state. If an ENTRY_EVENT is @@ -985,11 +990,6 @@ event's handler via C. # Switch to the next state; call an entry point with some values. $_[MACHINE]->goto_state( 'next_state', 'entry_event', @parameters ); -State transitions are not necessarily executed immediately by default. Rather, -they are placed in POEs event queue behind any currently pending events. -Enabling the C option causes state transitions to occur immediately, -regardless of any queued events. - =head2 stop stop() forces a machine to stop. The machine will also stop