MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / response_ok

Method response_ok

nodedb/src/data/executor/core_loop/response.rs:13–23  ·  view source on GitHub ↗
(&self, task: &ExecutionTask)

Source from the content-addressed store, hash-verified

11
12impl CoreLoop {
13 pub(in crate::data::executor) fn response_ok(&self, task: &ExecutionTask) -> Response {
14 Response {
15 request_id: task.request_id(),
16 status: Status::Ok,
17 attempt: 1,
18 partial: false,
19 payload: Payload::empty(),
20 watermark_lsn: self.watermark,
21 error_code: None,
22 }
23 }
24
25 pub(in crate::data::executor) fn response_with_payload(
26 &self,

Callers 15

dispatch_graphMethod · 0.80
dispatch_textMethod · 0.80
dispatch_metaMethod · 0.80
execute_edge_putMethod · 0.80
execute_edge_deleteMethod · 0.80
execute_vector_sealMethod · 0.80

Calls 2

request_idMethod · 0.80
emptyFunction · 0.50

Tested by

no test coverage detected