MCPcopy Index your code
hub / github.com/riverqueue/river / DefaultMiddleware

Function DefaultMiddleware

internal/rivermiddleware/middleware.go:18–20  ·  view source on GitHub ↗

DefaultMiddleware returns the default middleware that River applies to all jobs. This includes internal middleware like the resumable step middleware.

()

Source from the content-addressed store, hash-verified

16// DefaultMiddleware returns the default middleware that River applies to all
17// jobs. This includes internal middleware like the resumable step middleware.
18func DefaultMiddleware() []rivertype.Middleware {
19 return []rivertype.Middleware{&ResumableMiddleware{}}
20}
21
22// ResumableMiddleware is internal middleware that enables resumable step
23// functionality. It reads the last completed step and cursor data from job

Callers 2

NewClientFunction · 0.92
workJobMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…