Skip to contents

When a DSResult-class object is returned on aggregation or assignment operation, the raw result can be accessed asynchronously, allowing parallelization of DataSHIELD calls over multpile servers. The returned named list of logicals will specify if asynchronicity is supported for: session operation ('session'), aggregation operation ('aggregate'), table assignment operation ('assignTable'), resource assignment operation ('assignResource') and expression assignment operation ('assignExpr').

Usage

dsIsAsync(conn)

Arguments

conn

An object that inherits from DSConnection-class.

Value

A named list of logicals indicating if asynchronicity is supported for session, aggregation and assignment operations.

Examples

if (FALSE) { # \dontrun{
con <- dsConnect(DSOpal::Opal(), "server1",
  username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
dsIsAsync(con)
dsDisconnect(con)
} # }