Learn R Programming

nanonext (version 1.3.0)

.keep: Keep Promise

Description

Internal package function.

Usage

.keep(x, ctx)

set_promise_context(x, ctx)

Value

NULL.

Arguments

x

a ‘recvAio’ or ‘ncurlAio’ object.

ctx

the return value of ‘environment()’.

Details

If successful, both ‘x’ and ‘ctx’ are preserved and accessible from the promise callback.