MCPcopy
hub / github.com/ajenti/ajenti / push

Method push

plugins/core/api/push.py:16–23  ·  view source on GitHub ↗

Sends a push message to the client. :param plugin: routing ID :param msg: message

(self, plugin, msg)

Source from the content-addressed store, hash-verified

14 return self.q.register()
15
16 def push(self, plugin, msg):
17 """
18 Sends a push message to the client.
19
20 :param plugin: routing ID
21 :param msg: message
22 """
23 self.q.broadcast((plugin, msg))

Callers 8

runMethod · 0.45
sliceIteratorFunction · 0.45
babel.jsFile · 0.45
sortable-view.jsFile · 0.45
socket.io.jsFile · 0.45
lFunction · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

broadcastMethod · 0.80

Tested by

no test coverage detected