wrap job in job slot

This commit is contained in:
rmanach
2024-09-24 10:44:33 +02:00
parent 052958eb7e
commit 4da553d156
2 changed files with 35 additions and 17 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ type Job struct {
chAbort chan struct{}
}
func NewJob(task FnJob, row, col int) Job {
func NewJob(task FnJob) Job {
return Job{
id: uuid.New(),
createdAt: time.Now().UTC(),