Skip to main content

run

Function run 

Source
pub fn run<A: Addon>(addon: A)
Expand description

Serve an addon on stdin and stdout, until told to stop.

Returns when the daemon sends Shutdown or closes the pipe. An addon’s main is normally nothing but this.