You're reading an pre-release version of this documentation.
For the latest stable release version, please have a look at master.

敏感API

您可以注册要在仿真过程中每个仿真增量周期调用的回调函数:

敏感函数

描述

forkSensitive { callback }

注册要在仿真的每个仿真增量周期调用的回调代码

forkSensitiveWhile { callback }

注册要在仿真过程的每个仿真增量周期调用的回调代码,而回调返回值为 true(意味着应该为下一个仿真增量周期重新调度)