Expand description
interface WxProtocolBindConfig<TSender> {
bindSend: (sender: WxProtocolBoundSender) => TSender;
interfaces: [string, string];
protocol: string;
recvHandler: WxBusRecvHandler;
}Properties§
§§§§
bind Send: { ... }Create send wrapper that implements the sender interface
interfaces: [string, string]The protocol interfaces. The first should match TSender, the second is the interface TSender is linked to
protocol: stringName of the protocol (generated using --protocol flag)
recv Handler: WxBusRecvHandlerHandle for receiving remote calls
This is the configuration object passed into the creator functions, such as wxWorker and wxPopup. These are exported by the
*.bus.tsfiles generated by the Workex CLI tool.