Imports
constImports:object
Defined in: client/api.d.ts:2081
Bulk access to values exported by another running resource through the global Imports object.
Type Declaration
Section titled “Type Declaration”get(
resourceName):Record<string,unknown>
Builds an object containing every currently registered export from another resource; undeclared dependencies produce a warning.
Parameters
Section titled “Parameters”resourceName
Section titled “resourceName”string
Name of the running resource whose exports should be read.
Returns
Section titled “Returns”Record<string, unknown>
Object keyed by export name, or an empty object when the resource has no exports.
