- ?.requestHandler(
- this.buildProtocolRequest(
- uuid,
- procedureName,
- body ?? Constants.EMPTY_FREEZED_OBJECT
- )
- )
- .catch(Constants.EMPTY_FUNCTION);
- });
+ ?.requestHandler(this.buildProtocolRequest(uuid, procedureName, body))
+ .then((protocolResponse?: ProtocolResponse) => {
+ if (protocolResponse != null) {
+ this.sendResponse(protocolResponse)
+ }
+ })
+ .catch(Constants.EMPTY_FUNCTION)
+ })