OnStarted function

Learn technical details about the OnStarted function.