async PassRequest({request, Respond}) {
    let response;
    try {
      let callback;
      if(request.callbackId) {
        callback = (result) => Respond({
          type: "ElvFrameResponse",
          requestId: request.callbackId,
          response: result
        });
      }

      response = await this.SendMessage({options: request, callback});
    } catch(error) {
      response = JSON.parse(JSON.stringify(error));
    }

    return {
      type: "ElvFrameResponse",
      requestId: request.requestId,
      response
    };
  }
/**
   * Pass an ElvFrameRequest to the target and receive a ElvFrameResponse.
   * Useful when acting as an intermediate between a contained app and a parent app.
   *
   * @namedParams
   * @param {object} request - An ElvFrameRequest
   * @returns {object} - The resultant ElvFrameResponse
   */
Pass an ElvFrameRequest to the target and receive a ElvFrameResponse.
Useful when acting as an intermediate between a contained app and a parent app.

@namedParams
@param {object} request - An ElvFrameRequest
@returns {object} - The resultant ElvFrameResponse
Pass an ElvFrameRequest to the target and receive a ElvFrameResponse . Useful when acting as an intermediate between a contained app and a parent app . @namedParams @param { object } request - An ElvFrameRequest @returns { object } - The resultant ElvFrameResponse
async PassRequest({request, Respond}) {
    let response;
    try {
      let callback;
      if(request.callbackId) {
        callback = (result) => Respond({
          type: "ElvFrameResponse",
          requestId: request.callbackId,
          response: result
        });
      }
      response = await this.SendMessage({options: request, callback});
    } catch(error) {
      response = JSON.parse(JSON.stringify(error));
    }
    return {
      type: "ElvFrameResponse",
      requestId: request.requestId,
      response
    };
  }
async PassRequest ( { request , Respond } ) { let response ; try { let callback ; if ( request . callbackId ) { callback = ( result ) => Respond ( { type : "ElvFrameResponse" , requestId : request . callbackId , response : result } ) ; } response = await this . SendMessage ( { options : request , callback } ) ; } catch ( error ) { response = JSON . parse ( JSON . stringify ( error ) ) ; } return { type : "ElvFrameResponse" , requestId : request . requestId , response } ; }
Pass an ElvFrameRequest to the target and receive a ElvFrameResponse.
Pass an ElvFrameRequest to the target and receive a ElvFrameResponse .