You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**FileQueue** (`src/drivers/file.ts`): File-based queue storing jobs as individual files with JSON index
51
-
3.**Jobs**: Defined as TypeScript interfaces in a JobMap, with handlers registered via `onJob()` method
51
+
3.**Jobs**: Defined as TypeScript interfaces in a JobMap, with handlers registered via `setHandlers()` method
52
52
4.**Workers**: Long-running processes that consume and execute jobs
53
53
5.**Serialization**: Pluggable serialization system for job payloads
54
54
@@ -76,7 +76,7 @@ The queue emits lifecycle events:
76
76
## Development Patterns
77
77
78
78
### Job Implementation
79
-
Jobs are defined as TypeScript interfaces in a JobMap type, and handlers are registered using the `onJob()` method. The payload is serialized using JSON by default.
79
+
Jobs are defined as TypeScript interfaces in a JobMap type, and handlers are registered using the `setHandlers()` method. The payload is serialized using JSON by default.
80
80
81
81
### Database Adapters
82
82
When implementing DatabaseAdapter, you must provide:
0 commit comments