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

Method with_yielder

std/src/lib.rs:346–349  ·  view source on GitHub ↗

Overrides the default yielder with the given one.

(mut self, yielder: Rc<RefCell<dyn Yielder>>)

Source from the content-addressed store, hash-verified

344
345 /// Overrides the default yielder with the given one.
346 pub fn with_yielder(mut self, yielder: Rc<RefCell<dyn Yielder>>) -> Self {
347 self.yielder = Some(yielder);
348 self
349 }
350
351 /// Overrides the default signals channel with the given one.
352 pub fn with_signals_chan(mut self, chan: (Sender<Signal>, Receiver<Signal>)) -> Self {

Callers 2

safe_run_repl_loopMethod · 0.80

Calls

no outgoing calls

Tested by 1