gSocketConditionWait: gSocketConditionWait

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Waits for condition to become true on socket. When the condition is met, TRUE is returned.

Usage

1
gSocketConditionWait(object, condition, cancellable = NULL, .errwarn = TRUE)

Arguments

object

a GSocket

condition

a GIOCondition mask to wait for

cancellable

a GCancellable, or NULL

.errwarn

Whether to issue a warning on error or fail silently

Details

If cancellable is cancelled before the condition is met then FALSE is returned and error, if non-NULL, is set to G_IO_ERROR_CANCELLED. Since 2.22

Value

A list containing the following elements:

retval

[logical] TRUE if the condition was met, FALSE otherwise

error

a GError pointer, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.