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

Struct JobWithHooksBothInsertAndWorkBeginHook

example_job_args_hooks_test.go:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type JobWithHooksBothInsertAndWorkBeginHook struct{ river.HookDefaults }
42
43func (JobWithHooksBothInsertAndWorkBeginHook) InsertBegin(ctx context.Context, params *rivertype.JobInsertParams) error {
44 fmt.Printf("JobWithHooksInsertAndWorkBeginHook.InsertBegin ran\n")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected