Skip to main content

join

Function join 

Source
pub fn join(
    ctx: &mut Ctx<'_>,
    caller: &str,
    req: &JoinReq,
) -> Result<Joined, OpError>
Expand description

sync.join: a machine asks to be added. The caller must be the machine the subject names. If it is already a member it is answered again (a retry after a person confirmed). Otherwise it joins at once only when the collection’s policy is auto_proven, the collection is of a kind that allows it and the caller is proven; any other join waits for a person to confirm on a member (approve).