pyvista.Timer#
- class Timer(max_steps, callback)[source]#
Timer class.
- Parameters:
- max_steps
int
Maximum number of steps to allow for the timer before destroying it.
- callback
callable()
A callable that takes one argument. It will be passed step, which is the number of times the timer event has occurred.
- max_steps
Methods
Timer.execute
(obj, _event)Execute Timer.