Skip to main content

spawn

Function spawn 

Source
pub async fn spawn(
    alias: String,
    base_dir: PathBuf,
    config: WitnessNetworkConfig,
) -> Result<(ActorHandle, String)>
Expand description

Spawn the owner thread, open the witness Habery on it, and return a handle plus the witness AID once initialization has finished.