Skip to main content

WorkerSourceCheck

Type Alias WorkerSourceCheck 

Source
pub type WorkerSourceCheck = Arc<dyn Fn(&str) -> Option<String> + Send + Sync>;
Expand description

Answers, for a target id, why no worker binary could serve a session there. It blocks (a bare SSH host is asked its platform), so callers run it off the async runtime.

Aliased Typeยง

pub struct WorkerSourceCheck { /* private fields */ }