Skip to content

Interface: AppRunResult ​

Result of AppsService.runApp | `k.apps.runApp`: the outcome of launching another app and waiting for the data it returns when it finishes.

Properties ​

data? ​

ts
optional data?: any;

Data returned by the launched app through kapp.finish(result). Only present when `resolved` is true.


reason? ​

ts
optional reason?: string;

Failure cause when `resolved` is false: busy (an instance is already running), not_installed, unsupported_display_mode, not_found, aborted, no_result (the app finished without returning data), timeout, or an error message.


resolved ​

ts
resolved: boolean;

true if the launched app finished normally and returned data.