Skip to main content

open

Function open 

Source
pub fn open(
    purpose: &str,
    ttl_ms: Option<u64>,
) -> Result<(UnixStream, String), NodeAppError>
Expand description

Opens a pair for purpose (1..=64 printable ASCII): this app’s end, and the token of the other end to pass on. ttl_ms bounds the wait for a claimer (host default 10 s, max 30 s).