function runInfo(): RunInfo

Retrieves information about the current run environment.

Examples

import { runInfo } from "@intuned/sdk/runtime"

const info = runInfo();
console.log(info.runEnvironment); // Outputs the run environment, IDE or DEPLOYED
console.log(info.runId); // Outputs the run ID, if available, in IDE run id will be undefined

Returns

RunInfo

An object containing details about the run environment and the run ID.