MCPcopy Create free account
hub / github.com/riverqueue/river / HookLookup

Method HookLookup

internal/workunit/work_unit.go:22–22  ·  view source on GitHub ↗

HookLookup procures the a hook lookup bundle for the wrapped job using the given job hook lookup bundle. Hooks are looked up by job args and otherwise not available to jobexecutor.

(lookup *hooklookup.JobHookLookup)

Source from the content-addressed store, hash-verified

20 // the given job hook lookup bundle. Hooks are looked up by job args and
21 // otherwise not available to jobexecutor.
22 HookLookup(lookup *hooklookup.JobHookLookup) hooklookup.HookLookupInterface
23
24 Middleware() []rivertype.WorkerMiddleware
25 NextRetry() time.Time

Callers 1

executeMethod · 0.65

Implementers 2

callbackWorkUnitinternal/maintenance/job_rescuer_test.
customizableWorkUnitinternal/jobexecutor/job_executor_test

Calls

no outgoing calls

Tested by

no test coverage detected