MCPcopy Create free account
hub / github.com/Psychedelic/cap / insert_future

Method insert_future

sdk/rust/src/env.rs:74–78  ·  view source on GitHub ↗
(future: LocalBoxFuture<'static, ()>)

Source from the content-addressed store, hash-verified

72 }
73
74 pub(crate) fn insert_future(future: LocalBoxFuture<'static, ()>) {
75 FUTURES.with(|futures| {
76 futures.borrow_mut().push(future);
77 });
78 }
79
80 /// Sets the [`CapEnv`] using the provided value.
81 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected