MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / createResponseMessage

Function createResponseMessage

packages/yalt/src/index.ts:57–69  ·  view source on GitHub ↗
(id: string, response: Response)

Source from the content-addressed store, hash-verified

55}
56
57async function createResponseMessage(id: string, response: Response): Promise<ResponseMessage> {
58 const { headers, status } = response;
59
60 const body = await response.text();
61
62 return {
63 type: "response",
64 id,
65 headers: Object.fromEntries(headers),
66 status,
67 body,
68 };
69}
70
71export class YaltApiClient {
72 constructor(

Callers 1

sendResponseMethod · 0.85

Calls 1

textMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…