interface IRPCBroker
extends
IBaseBroker<TEvents>AsyncEventEmitter<ToEventMap<TEvents, TResponses>>export interface IRPCBroker<TEvents extends Record<string, any[]>, TResponses extends Record<keyof TEvents, any>> extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents, TResponses>>
callEvent extends keyof TEvents
>() : Promise<TResponses[Event]> <
Event extends keyof TEvents
Makes an RPC call
Subscribes to the given events
Inherited from: IBaseBroker
Unsubscribes from the given events
Inherited from: IBaseBroker