OutputStream.isClosing

Checks if an output stream is being closed. This can be used inside e.g. a flush implementation to see if the flush (or other i/o operation) is called from within the closing operation.

class OutputStream
bool
isClosing
()

Return Value

Type: bool

TRUE if stream is being closed. FALSE otherwise.

Meta

Since

2.24