MCPcopy Create free account
hub / github.com/compose-spec/compose-go / ProcessEvent

Method ProcessEvent

loader/loader.go:112–116  ·  view source on GitHub ↗

Invoke all listeners for an event

(event string, metadata map[string]any)

Source from the content-addressed store, hash-verified

110
111// Invoke all listeners for an event
112func (o *Options) ProcessEvent(event string, metadata map[string]any) {
113 for _, l := range o.Listeners {
114 l(event, metadata)
115 }
116}
117
118// ResourceLoader is a plugable remote resource resolver
119type ResourceLoader interface {

Callers 1

applyServiceExtendsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected