ForeachLoopBody#

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

Inheritance diagram of PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody

Detailed Description#

class PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody#

Creates a new foreach loop body.

abstract PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody.run(ok)#
Parameters

ok – bool

This function is executed on each iteration. If the execution fails, ok is set to false, otherwise it is set to true.