interface IRPCBroker
extends
IBaseBroker<TEvents>AsyncEventEmitter<ToEventMap<TEvents, TResponses>>interface IRPCBroker<TEvents extends Record<string, any>, TResponses extends Record<keyof TEvents, any>> extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents, TResponses>>
callT extends keyof TEvents
>() : Promise<TResponses[T]> <
T extends keyof TEvents
Makes an RPC call
Subscribes to the given events, grouping them by the given group name
Inherited from: IBaseBroker
Unsubscribes from the given events - it's required to pass the same group name as when subscribing for proper cleanup
Inherited from: IBaseBroker