Reference 〉 Function

Shocks.step()

Runs through the timer functions of the registered shocks and executes the shock function for any timer function that returns True.

This function is called from model.step(). It should not be called from user code.

WARNING: This is an internal function. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.