/
atombpmn
/
atom-engine
Обзор
Документация
Войти
/
atombpmn
/
atom-engine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
master
src/process/timer_callback_manager_interface.go
33 строки
1 KB
sembaev-a-a
Initial commit
18 ноя 2025, 03:22
18 ноя 2025, 03:22
8f621c0
Код
Авторство
О чём код?
/* This file is part of the AtomBPMN (R) project. Copyright (c) 2025 Matreska Market LLC (ООО «Matreska Market»). Authors: Matreska Team. This project is dual-licensed under AGPL-3.0 and AtomBPMN Commercial License. */ package process import ( "atom-engine/src/core/models" ) // TimerCallbackManagerInterface handles timer operations // Интерфейс менеджера таймеров type TimerCallbackManagerInterface interface { // Timer operations CreateTimer(timerRequest *TimerRequest) error HandleTimerCallback(timerID, elementID, tokenID string) error // Boundary timer operations CreateBoundaryTimer(timerRequest *TimerRequest) error CreateBoundaryTimerWithID(timerRequest *TimerRequest) (string, error) LinkBoundaryTimerToToken(tokenID, timerID string) error CancelBoundaryTimersForToken(tokenID string) error // Process timer operations CancelAllTimersForProcessInstance(instanceID string) error // Helper operations GetBPMNProcessForToken(token *models.Token) (map[string]interface{}, error) }