Restructuring for worker development.

This commit is contained in:
Jay
2026-04-17 18:47:17 -04:00
parent 3af3696d86
commit 34e9374a4b
4 changed files with 46 additions and 59 deletions

View File

@@ -7,11 +7,7 @@ import (
// Types
type WorkerFactory func(
id string,
conn *transport.Connection,
onReconnect func() (*transport.Connection, error),
) Worker
type WorkerFactory func(id string, stop <-chan struct{}) Worker
// Pool Config