Event

wscript data type

The payload passed to an event handler's fn handle(event, lab): name, vm, data (JSON as text).

The argument to fn handle(event: Event, lab: Lab) in an event handler.

rust
struct Event { name: string, vm: string, data: string }   // data = JSON payload as text

See the lifecycle events for the name values and what each carries.