Skip to main content

account

Function account 

Source
pub(super) fn account(
    state: &AppState,
    leader: &Leader,
    harness: &str,
    runtime: &WorkerRuntime,
    requested: Option<&str>,
) -> Result<WorkerAccount, SpawnError>
Expand description

The account a new worker runs on. A worker on a route is billed to the route’s key and signs in nowhere, so it has none; its id is empty and nothing is linked.