A custom event emitted by the agent via ctx.send(event, data) — the
payload the session records in SessionSnapshot.customEvents (id is a
monotonic session-unique counter, event the name, data the payload).
Deliberately NOT the DOM CustomEvent: it shares nothing with that
interface, and the old name shadowed the global in .tsx files.
A custom event emitted by the agent via
ctx.send(event, data)— the payload the session records inSessionSnapshot.customEvents(idis a monotonic session-unique counter,eventthe name,datathe payload).Deliberately NOT the DOM
CustomEvent: it shares nothing with that interface, and the old name shadowed the global in.tsxfiles.