Parent: #140
Related: #134, #163, #164, #239, #243
Implement the three shared private-ABI IPC process event entry points on the realm-owned process EventEmitter.
Scope
Process__emitMessageEvent
Process__emitErrorEvent
Process__emitDisconnectEvent
Acceptance
- Gate each dispatch on an existing listener before decoding arguments; with no listener, even an
error event and opaque/foreign values are exact no-ops.
- Emit
message(value, handle), error(value), and zero-argument disconnect synchronously with exact value identity, callback this, listener order, once/removal behavior, and reentrant mutation semantics.
- With listeners present, reject foreign-VM values and preserve listener throws through the first-pending exception boundary.
- Preserve selected-realm and sibling-realm isolation; do not fabricate IPC transport state or broaden this into send/serialization support.
- Add focused and compiled-consumer fixtures, refresh both pinned inventories, update README/API/ABI integration evidence and parent issues, and publish committed verification.
Parent: #140
Related: #134, #163, #164, #239, #243
Implement the three shared private-ABI IPC process event entry points on the realm-owned process EventEmitter.
Scope
Process__emitMessageEventProcess__emitErrorEventProcess__emitDisconnectEventAcceptance
errorevent and opaque/foreign values are exact no-ops.message(value, handle),error(value), and zero-argumentdisconnectsynchronously with exact value identity, callbackthis, listener order, once/removal behavior, and reentrant mutation semantics.