Loop's condition, executed within WhileNet context
(self, name=None)
| 357 | return NetBuilder.current().add(_RunWhileNet(name=name)) |
| 358 | |
| 359 | def Condition(self, name=None): |
| 360 | """ |
| 361 | Loop's condition, executed within WhileNet context |
| 362 | """ |
| 363 | assert isinstance(NetBuilder.current(), _RunWhileNet), \ |
| 364 | "Use of Condition outside of WhileNet" |
| 365 | return _RunWhileCondition(name=name) |
| 366 | |
| 367 | def task_init(self): |
| 368 | """ |