Appearance
@loontail/minecraft-kit v0.5.0 / LaunchSession
Interface: LaunchSession
Live handle for a running game process.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
exited | readonly | Promise<LaunchExit> | Resolves with the exit code/signal when the process terminates. |
pid | readonly | number | Operating-system process id. |
Methods
abort()
ts
abort(reason?): voidBest-effort cancel — sends SIGTERM, then SIGKILL after the grace period.
Parameters
| Parameter | Type |
|---|---|
reason? | string |
Returns
void