pub async fn wait_and_complete(
hby: &mut Habery,
alias: &str,
sender: &str,
sn: u64,
timeout: Duration,
) -> Result<()>Expand description
Watch the delegator’s witnesses until the delegator has approved own
event sn, then publish the approved event and the delegator’s KEL to
own witnesses (keripy Anchorer.processUnanchoredEscrow +
publishDelegator), and send the approved event, now with its source
seal couple, back to the delegator (keripy Poster.sendEventToDelegator):
a keripy delegator accepts the delegated event from that.