pub fn wait_up_to(duration: u32) -> !
Same as wait, but delays handling for the maximum number of blocks that can be paid for and doesn’t exceed the given duration.
wait
duration