isOpened: Check if connection is opened

Description Usage Arguments Value Author(s)

View source: R/wire.R

Description

Check whether a given connection is opened. Closed connections cannot be used, and will throw errors on such an attempt; their associated callbacks and/or sync cursor are dead and won't fire/produce any more data.

Usage

1

Arguments

x

Connection to to check.

Value

TRUE if connection is opened and can be used for queries, FALSE otherwise.

Author(s)

Miron B. Kursa


mbq/rethinker documentation built on May 22, 2019, 12:57 p.m.