Skip to content

ABI: implement IPC process event dispatch #244

Description

@chrisbbreuer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions