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

Function resolve_script_no_cache

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

Source from the content-addressed store, hash-verified

123}
124
125async fn resolve_script_no_cache(
126 upstreams: Upstreams,
127 query: Message<Bytes>,
128 _ctx: Option<QueryContext>,
129) -> Result<Message<Bytes>, ScriptError> {
130 Ok(upstreams
131 .send(&"mock".into(), &droute::CacheMode::Disabled, &query)
132 .await?)
133}
134
135criterion_group!(benches, bench_resolve);
136criterion_main!(benches);

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected