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

Function sendNotification

internal/notifier/notifier_test.go:702–711  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, exec riverdriver.Executor, schema, topic string, payload string)

Source from the content-addressed store, hash-verified

700}
701
702func sendNotification(ctx context.Context, t *testing.T, exec riverdriver.Executor, schema, topic string, payload string) {
703 t.Helper()
704
705 t.Logf("Sending notification on %q: %s", topic, payload)
706 require.NoError(t, exec.NotifyMany(ctx, &riverdriver.NotifyManyParams{
707 Payload: []string{payload},
708 Schema: schema,
709 Topic: topic,
710 }))
711}

Callers 1

TestNotifierFunction · 0.85

Calls 3

HelperMethod · 0.65
LogfMethod · 0.65
NotifyManyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…