You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Rpc using events is implemented by emitting an event, then waiting until a response event is generated.
This is suitable for when the request/ response actually forms useful data/ state in the system rather than just being simple interaction.
This could be implemented in newton as a specialisation of BaseSubscriber. By listening to the streams that the events will come back on, and adding/ removing listener predicates as needed before emitting the request event, effective RPC can be overlaid onto stream processing.