QScxmlDataModel.ForeachLoopBody¶
The
ForeachLoopBody
class represents a function to be executed on each iteration of an SCXML foreach loop. More…

New in version 5.12.
Detailed Description¶
-
class
PySide2.QtScxml.QScxmlDataModel.
ForeachLoopBody
¶ Creates a new foreach loop body.
-
PySide2.QtScxml.QScxmlDataModel.ForeachLoopBody.
run
(ok)¶ - Parameters
ok –
bool
This function is executed on each iteration. If the execution fails,
ok
is set tofalse
, otherwise it is set totrue
.