pagelet_server_flush

Description

function pagelet_server_flush(): void

Flush all the currently buffered output, so that the main thread can read it with pagelet_server_task_result(). This is only meaningful in a pagelet thread.