MCPcopy Create free account
hub / github.com/asaskevich/EventBus / PushEvent

Method PushEvent

client.go:116–120  ·  view source on GitHub ↗

PushEvent - exported service to listening to remote events

(arg *ClientArg, reply *bool)

Source from the content-addressed store, hash-verified

114
115// PushEvent - exported service to listening to remote events
116func (service *ClientService) PushEvent(arg *ClientArg, reply *bool) error {
117 service.client.eventBus.Publish(arg.Topic, arg.Args...)
118 *reply = true
119 return nil
120}

Callers 1

TestPushEventFunction · 0.80

Calls 1

PublishMethod · 0.65

Tested by 1

TestPushEventFunction · 0.64