MCPcopy Index your code
hub / github.com/endbasic/endbasic / yield_now

Method yield_now

std/src/exec.rs:224–226  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

222 #[async_trait(?Send)]
223 impl Yielder for CountingYielder {
224 async fn yield_now(&mut self) {
225 *self.count.borrow_mut() += 1;
226 }
227 }
228
229 let (tx, rx) = async_channel::unbounded();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected