2025-10-02 20:35:53 +03:00
|
|
|
package parsers
|
|
|
|
|
|
|
|
|
|
import (
|
2026-02-28 10:53:02 +03:00
|
|
|
"context"
|
2025-10-03 19:17:01 +03:00
|
|
|
"task-processor/internal/appState"
|
|
|
|
|
"task-processor/internal/shared"
|
2025-10-02 20:35:53 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type TaskHandler interface {
|
2026-02-28 10:53:02 +03:00
|
|
|
HandleTasks(ctx context.Context, tasks []shared.Task, sender chan shared.TaskResult, state *appState.State)
|
2025-10-02 20:35:53 +03:00
|
|
|
}
|