ide_emit()
The caller creates a private response directory and supplies an unused file
name inside
context$response_root (the R temporary directory by default).
The root is configured by trusted R code, never by encoded requests.
A sibling temporary file is renamed atomically after serialization.
Existing files and symbolic links are never overwritten. Use one outstanding
request per destination. Responses are limited to one MiB; errors contain
fixed redacted messages. The file transport is for a trusted local IDE, not
an authentication boundary or a remote network service.
Usage
ide_emit(
kind,
response_path,
request_id,
context = ide_context(),
handle = NULL,
selection = "workspace",
limit = 100L,
row_limit = 100L,
file_path = NULL
)Arguments
- kind
- Metadata operation, or explicitly requested view/trial action.
- response_path
- Unused absolute JSON file path in an existing private directory.
- request_id
- Correlation identifier containing letters, digits, hyphens or underscores.
- context
- Context from
ide_context(). - handle
- Optional opaque product or result handle.
- selection
- Workspace or lake context handle.
- limit
- Maximum metadata records, at most 500.
- row_limit
- Maximum viewed or sample-checked rows, at most 1000.
- file_path
- Explicit local ODCS YAML file for contract operations only.
Value
Invisibly, the envelope written to the file.
Documentation source snapshot · View source at 282f129 ↗
Code examples are documented source examples; they are not executed in this website build.
Code examples are documented source examples; they are not executed in this website build.