MCPcopy
hub / github.com/moncho/dry / EventCallback

FuncType EventCallback

docker/events.go:10–10  ·  view source on GitHub ↗

EventCallback defines a callback function for messages

func(ctx context.Context, event events.Message)

Source from the content-addressed store, hash-verified

8
9// EventCallback defines a callback function for messages
10type EventCallback func(ctx context.Context, event events.Message)
11
12// streamEvents sends incoming events to the provided channel.
13func streamEvents(out chan<- events.Message) EventCallback {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected