State done events
A state done event transitions from a parent state when one of its child states reaches its final state. State done events are labeled “onDone.”
In the video player above, when the video player reaches the Stopped state, the Opened state transitions through the onDone state done event to the Closed state.