MCPcopy Create free account
hub / github.com/BitVM/BitVM / wait_with_message

Function wait_with_message

bridge/tests/bridge/helper.rs:80–86  ·  view source on GitHub ↗
(timeout: Duration, message: &str)

Source from the content-addressed store, hash-verified

78const RESET_COLOR: &str = "\x1b[0m";
79
80async fn wait_with_message(timeout: Duration, message: &str) {
81 println!(
82 "Waiting {DURATION_COLOR}{:?}{RESET_COLOR}{}...",
83 timeout, message
84 );
85 sleep(timeout).await;
86}
87
88pub async fn wait_for_confirmation_with_message(network: Network, message: Option<&str>) {
89 let timeout = Duration::from_secs(tx_wait_time(network));

Callers 2

wait_for_timelock_expiryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected