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

Struct BothInsertAndWorkBeginHook

example_global_hooks_test.go:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type BothInsertAndWorkBeginHook struct{ river.HookDefaults }
17
18func (BothInsertAndWorkBeginHook) InsertBegin(ctx context.Context, params *rivertype.JobInsertParams) error {
19 fmt.Printf("BothInsertAndWorkBeginHook.InsertBegin ran\n")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected