Javascript File flush

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Flushes the buffer to the file

Synopsis

flush()

Example

var fd = new File("/tmp/blah");
fd.open("write");
fd.write("hi");
fd.flush();

See Also