mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-13 18:07:20 +01:00
87cc28ae28
- use AbortController in /abort instead of execption - allow quiet abort - allow loud abort - allow abort reason - abort when aborted in subcommand - break out of loops when aborted inside - fix parsing of subcommands with multiple commands
10 lines
329 B
JavaScript
10 lines
329 B
JavaScript
export class SlashCommandClosureResult {
|
|
/**@type {boolean}*/ interrupt = false;
|
|
/**@type {string}*/ pipe;
|
|
/**@type {boolean}*/ isAborted = false;
|
|
/**@type {boolean}*/ isQuietlyAborted = false;
|
|
/**@type {string}*/ abortReason;
|
|
/**@type {boolean}*/ isError = false;
|
|
/**@type {string}*/ errorMessage;
|
|
}
|