PreviousUpNext

14.4.105  Template_Hostthread

The standard library Template_Hostthread api provides a clone-and-mutate template for defining new dedicated server hostthreads.

The Template_Hostthread api is implemented by the template_hostthread package.

The Template_Hostthread api source code is in src/lib/std/src/hostthread/template-hostthread.api.

The above information is manually maintained and may contain errors.

api {
    is_running : Void -> Bool;
    start : String -> Bool;
    Do_Stop  = {reply:Void -> Void, who:String};
    stop : Do_Stop -> Void;
    Do_Echo  = {reply:String -> Void, what:String};
    echo : Do_Echo -> Void;};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext