The aries controller agent currently doesn't support multiple listeners for webhooks
Why?
The new multitenant feature introduced in aca-py v0.6 entails that multiple subwallet holders on the same basewallet controller want to listen to webhooks from a single agent.
Breakdown
Essentially the pub/sub mechanism should use sockets to broadcast from one webhook handler (server) to multiple listeners (clients). Or other sensible approach.
Rewrite server to use sockets
Rewrite clients to listen to socket connection
ensure multiple clients can listen to the server
ensure broadcasting to multiple clients is performant
What?
The aries controller agent currently doesn't support multiple listeners for webhooks
Why?
The new multitenant feature introduced in aca-py v0.6 entails that multiple subwallet holders on the same basewallet controller want to listen to webhooks from a single agent.
Breakdown
Essentially the pub/sub mechanism should use sockets to broadcast from one webhook handler (server) to multiple listeners (clients). Or other sensible approach.