Appearance
@loontail/minecraft-kit v0.8.14 / InstallReport
Type alias: InstallReport
ts
type InstallReport: {
actionsCompleted: number;
actionsSkipped: number;
bytesDownloaded: number;
durationMs: number;
targetId: string;
};Outcome summary returned by install.run.
Example
ts
import type { InstallReport } from "@loontail/minecraft-kit";
const report: InstallReport = await kit.install.run(plan);
console.log(
`${report.actionsCompleted} done, ${report.actionsSkipped} skipped in ${report.durationMs}ms`,
);Type declaration
| Member | Type |
|---|---|
actionsCompleted | number |
actionsSkipped | number |
bytesDownloaded | number |
durationMs | number |
targetId | string |