tasks pkg

This commit is contained in:
nquidox 2026-04-03 19:06:33 +03:00
parent 3e74f1cf5e
commit 88db05604a
2 changed files with 143 additions and 0 deletions

View file

@ -0,0 +1,11 @@
package tasks
import (
"context"
"parser-mandarake/internal/common"
)
type Tasker interface {
GetTasks(ctx context.Context) <-chan common.Task
SendResult(ctx context.Context, resultChan chan common.Result)
}