pub(crate) fn wait(
listener: &TcpListener,
state: &str,
deadline: Duration,
stop: &AtomicBool,
ends: Ends,
judge: impl Fn(&Answer) -> Verdict,
) -> Result<String, SyncError>Expand description
Waits at the door for the provider’s answer, at most deadline, or until
stop (Cancel): judge says what each answer means and which page the
browser shows. The code, else why there is none.