after_flight_model Event

The afterflightmodel event fires after the flight loop on every cycle; use this event to run any code that needs to run after the flight loop.

Event type

The dispatched event uses the Event interface.

Example

> simulator.addEventListener("afterflightmodel", (event) => { console.log("After flight model event")})
undefined
After flight model event
After flight model event
After flight model event
After flight model event
After flight model event

References