Skip to content

@loontail/minecraft-kit / LaunchRunOptions

Type Alias: LaunchRunOptions

ts
type LaunchRunOptions = {
  killGracePeriodMs?: number;
  onEvent?: (event) => void;
  signal?: AbortSignal;
};

Defined in: src/types/launch.ts:105

Options for kit.launch.run (and the lower-level runLaunch helper).

Properties

PropertyModifierTypeDescriptionDefined in
killGracePeriodMs?readonlynumberMilliseconds to wait between SIGTERM and SIGKILL when aborting.src/types/launch.ts:109
onEvent?readonly(event) => void-src/types/launch.ts:107
signal?readonlyAbortSignal-src/types/launch.ts:106

MIT License