pub fn pause_playback()Expand description
Suspend the running script between steps. The step in flight finishes, because a step is one synthesized action dispatched to the main thread, and abandoning it mid-flight would leave the UI in a state no script describes.