EXCEPTION::FLUSH 1g 2023 laplante@plcb.ca GOWEB


title: “EXCEPTION::FLUSH Function” date: 2023-01-01 author: “laplante@plcb.ca” version: “1.0.0”

module: “GOWEB/EXCEPTION”

Name

exception::flush — flush the current output buffer

Synopsis

Description

The exception::flush function flushes the current output buffer.
It can be used when streaming output is required, forcing the buffer to be written immediately.

Examples

res={{
    i := 0;
    timeout("7s");
    for true {
        i++;
        "."; flush(); sleep("1s");
    }
    i;
}}.

return (error message is not complete)

res=.......  timeout after 7s

Author

See also

Version History