Skip to main content

adopt

Function adopt 

Source
pub fn adopt(state: &RunState, parent_task: Option<&str>) -> Option<Adopted>
Expand description

Give a run this process is about to execute an owning task. A parent task that exists just gains the run in runs; with none, a task is filed and claimed for the duration, and Adopted::finish settles it as the daemon would. A no-op (None) when no magi home is pinned.