/
Kovynev
/
claude-code
Обзор
Документация
Войти
/
Kovynev
/
claude-code
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
utils/commandLifecycle.ts
21 строка
440 B
kuberwastaken
new initial commit (history rewritten)
01 апр 2026, 14:57
01 апр 2026, 14:57
c1996f2
Код
Авторство
О чём код?
type CommandLifecycleState = 'started' | 'completed' type CommandLifecycleListener = ( uuid: string, state: CommandLifecycleState, ) => void let listener: CommandLifecycleListener | null = null export function setCommandLifecycleListener( cb: CommandLifecycleListener | null, ): void { listener = cb } export function notifyCommandLifecycle( uuid: string, state: CommandLifecycleState, ): void { listener?.(uuid, state) }