stream to have actions pending. If the pending flag is
already set or stream is closed, it will return FALSE and set
error.gOutputStreamSetPending(object, .errwarn = TRUE)objectTRUE if pending was previously unset and is now set.errorGError location to store the error occuring, or NULL to
ignore.