Const8 June 2026. Use createNetworkEventEmitterAsync. Events created via the sync API
are not centrally registered and do not appear in the OpenRPC document. The async version
restricts central registration of an event name to a single source (unless the event is
declared in MultiSourceNetworkEvents, in which case it accepts multiple registrants by
design). Note this restricts central registration, not emission: the registry does not block
emits today, but it warns when an event is announced without a matching registration or from a
process that did not register it. That tolerance is transitional — announcing an unregistered
or cross-process single-source event is deprecated and is expected to become an error (with the
registry gating emission) in a future release, so treat the warning as something to fix, not as
the permanent behavior.
WARNING: You can only create a network event emitter once per eventType to prevent hijacked event emitters.
Creates an event emitter that works properly over the network.