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

Method response_partial

nodedb/src/data/executor/core_loop/response.rs:41–55  ·  view source on GitHub ↗
(
        &self,
        task: &ExecutionTask,
        payload: Vec<u8>,
    )

Source from the content-addressed store, hash-verified

39 }
40
41 pub(in crate::data::executor) fn response_partial(
42 &self,
43 task: &ExecutionTask,
44 payload: Vec<u8>,
45 ) -> Response {
46 Response {
47 request_id: task.request_id(),
48 status: Status::Partial,
49 attempt: 1,
50 partial: true,
51 payload: Payload::from_vec(payload),
52 watermark_lsn: self.watermark,
53 error_code: None,
54 }
55 }
56
57 pub(in crate::data::executor) fn response_error(
58 &self,

Callers 4

execute_graph_matchMethod · 0.80
stream_chunks_rawMethod · 0.80

Calls 1

request_idMethod · 0.80

Tested by

no test coverage detected