interface rename + method change

This commit is contained in:
nquidox 2026-04-03 20:53:54 +03:00
parent c1c0e46184
commit d19f5f7621
2 changed files with 8 additions and 6 deletions

View file

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