MCPcopy Create free account
hub / github.com/dataddo/pgq / HandleMessage

Method HandleMessage

consumer.go:73–75  ·  view source on GitHub ↗

HandleMessage calls self. It also implements MessageHandler interface.

(ctx context.Context, msg *MessageIncoming)

Source from the content-addressed store, hash-verified

71
72// HandleMessage calls self. It also implements MessageHandler interface.
73func (fn MessageHandlerFunc) HandleMessage(ctx context.Context, msg *MessageIncoming) (processed bool, err error) {
74 return fn(ctx, msg)
75}
76
77// consumerConfig contains consumer configuration.
78type consumerConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected