fn callback(callback: PyObject) -> SystemWrapper
Expand description
Terminate simulation based on the return value of a callback
Parameters:
callback - callback passed the current tick and returning a bool whether the simulation should terminate
fn callback(callback: PyObject) -> SystemWrapper
Terminate simulation based on the return value of a callback
Parameters:
callback - callback passed the current tick and returning a bool whether the simulation should terminate