InputStream.setPending

Sets stream to have actions pending. If the pending flag is already set or stream is closed, it will return FALSE and set error.

class InputStream
bool
setPending
()

Return Value

Type: bool

TRUE if pending was previously unset and is now set.

Throws

GException on failure.