const unsubscribe = launch.onEvent((type, payload) => console.log(type, payload)); unsubscribe(); const snapshot = launch.getResult(); // Latest cached saved result, or null. const details = await launch.getDetails(); // Fresh saved result with runtime data. const finalResult = await launch.close(); // Wait for save acknowledgement; retain frame on failure. await launch.destroy(); // Gracefully close, then remove iframe/listeners. await player.destroy(); // Destroy all launches owned by this player instance.