MCPcopy Create free account
hub / github.com/azimjohn/jprq / find_request_for_response

Function find_request_for_response

cli/debugger/static/script.js:207–209  ·  view source on GitHub ↗
(response_event)

Source from the content-addressed store, hash-verified

205};
206
207const find_request_for_response = (response_event) => {
208 return requests.find((request) => request.id == response_event.request_id)
209}
210
211const find_response_for_request = (request_event) => {
212 return responses_without_requests.find((response) => response.request_id == request_event.id)

Callers 1

handleEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected