Deprecated function - use request
instead.
request_signal(
context,
data,
cv,
send_mode = c("serial", "raw", "next"),
recv_mode = c("serial", "character", "complex", "double", "integer", "logical",
"numeric", "raw", "string"),
timeout = NULL
)
a Context.
an object (if send_mode = ‘raw’, a vector).
(optional) a ‘conditionVariable’ to signal when the async receive is complete.
[default 'serial'] character value or integer equivalent - one of ‘serial’ (1L) to send serialised R objects, ‘raw’ (2L) to send atomic vectors of any type as a raw byte vector, or ‘next’ (3L) - see ‘Send Modes’ section below.
[default 'serial'] character value or integer equivalent - one of ‘serial’ (1L), ‘character’ (2L), ‘complex’ (3L), ‘double’ (4L), ‘integer’ (5L), ‘logical’ (6L), ‘numeric’ (7L), ‘raw’ (8L), or ‘string’ (9L). The default ‘serial’ means a serialised R object; for the other modes, received bytes are converted into the respective mode. ‘string’ is a faster option for length one character vectors.
[default NULL] integer value in milliseconds or NULL, which applies a socket-specific default, usually the same as no timeout.