using symbols instead

This commit is contained in:
qvink
2025-03-27 09:31:52 -06:00
parent 251d242a0d
commit f1a053c3b8
3 changed files with 11 additions and 3 deletions

View File

@ -14,3 +14,9 @@ export const debounce_timeout = {
/** [5 sec] For delayed tasks, like auto-saving or completing batch operations that need a significant pause. */
extended: 5000,
};
/*
Used as an ephemeral key in message extra metadata.
When set, the message will be excluded from context.
*/
export const IGNORE_SYMBOL = Symbol.for('ignore');