MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / resolve_script

Function resolve_script

droute/benches/native_script.rs:115–123  ·  view source on GitHub ↗
(
    upstreams: Upstreams,
    query: Message<Bytes>,
    _ctx: Option<QueryContext>,
)

Source from the content-addressed store, hash-verified

113}
114
115async fn resolve_script(
116 upstreams: Upstreams,
117 query: Message<Bytes>,
118 _ctx: Option<QueryContext>,
119) -> Result<Message<Bytes>, ScriptError> {
120 Ok(upstreams
121 .send(&"mock".into(), &droute::CacheMode::Standard, &query)
122 .await?)
123}
124
125async fn resolve_script_no_cache(
126 upstreams: Upstreams,

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected