Skip to content

@loontail/minecraft-kit v0.5.0 / LaunchSession

Interface: LaunchSession

Live handle for a running game process.

Properties

PropertyModifierTypeDescription
exitedreadonlyPromise<LaunchExit>Resolves with the exit code/signal when the process terminates.
pidreadonlynumberOperating-system process id.

Methods

abort()

ts
abort(reason?): void

Best-effort cancel — sends SIGTERM, then SIGKILL after the grace period.

Parameters

ParameterType
reason?string

Returns

void

Source

src/types/launch.ts:57

MIT License