MCPcopy Create free account
hub / github.com/Botloader/botloader / run_until_completion

Method run_until_completion

components/vm/src/vm.rs:496–508  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

494 }
495
496 async fn run_until_completion(&mut self) {
497 loop {
498 let fut = RunUntilCompletion {
499 rt: &mut self.runtime,
500 };
501
502 if let Err(err) = fut.await {
503 self.log_guild_err(err);
504 } else {
505 return;
506 }
507 }
508 }
509
510 async fn complete_module_eval(&mut self, fut: impl Future<Output = Result<(), AnyError>>) {
511 let mut pinned: Pin<&mut dyn Future<Output = Result<(), AnyError>>> = pin!(fut);

Callers 1

stop_vmMethod · 0.80

Calls 1

log_guild_errMethod · 0.80

Tested by

no test coverage detected