11 lines
250 B
Go
11 lines
250 B
Go
package parsers
|
|
|
|
import (
|
|
"context"
|
|
"task-processor/internal/appState"
|
|
"task-processor/internal/shared"
|
|
)
|
|
|
|
type TaskHandler interface {
|
|
HandleTasks(ctx context.Context, tasks []shared.Task, sender chan shared.TaskResult, state *appState.State)
|
|
}
|