EventManager.
add_continue_hook
Add a continue hook.
This function allows to register a function that will be executed before the virtual machine is resumed. In general, users should not use continue hooks.