Description
Get a response to a proposed request.
💡
Our internal session manager will listen for response and store them in memory. If you ever want to check the status of a proposed request, you can call this method using the request Id. Note: Your request might still be in progress with your user...
Usage
  sdk.sync.getResponse(id: string)Parameters
id: string;Response
request: BaseRequest;
// request structure will vary depending on the type of the requestresponse: BaseResponse;
// response structure will vary depending on the type of the requestcreatedAt: number; // unix;resolvedAt: number; // unix;Example
let { request, response, createdAt, resolvedAt } = sdk.sync.getResponse(
  'eb29dcab-2bbd-4f4f-ad46-fc33359c6453'
);
 
console.log(request, response, createdAt, resolvedAt);