- buildCommand(broadcastCallback): {
endowments: {
deliverResponse: ((kCount: any, kIsReject: any, kResponseString: any) => void);
registerInboundCallback: ((cb: any) => void);
sendBroadcast: ((kBodyString: any) => void);
};
inboundCommand: ((obj: any) => Promise<any>);
srcPath: string;
} Returns {
endowments: {
deliverResponse: ((kCount: any, kIsReject: any, kResponseString: any) => void);
registerInboundCallback: ((cb: any) => void);
sendBroadcast: ((kBodyString: any) => void);
};
inboundCommand: ((obj: any) => Promise<any>);
srcPath: string;
}
endowments: {
deliverResponse: ((kCount: any, kIsReject: any, kResponseString: any) => void);
registerInboundCallback: ((cb: any) => void);
sendBroadcast: ((kBodyString: any) => void);
}
deliverResponse: ((kCount: any, kIsReject: any, kResponseString: any) => void)
- (kCount, kIsReject, kResponseString): void
Parameters
- kCount: any
- kIsReject: any
- kResponseString: any
Returns void
registerInboundCallback: ((cb: any) => void)
sendBroadcast: ((kBodyString: any) => void)
- (kBodyString): void
Returns void
inboundCommand: ((obj: any) => Promise<any>)
- (obj): Promise<any>
Returns Promise<any>
srcPath: string