MCPcopy Create free account
hub / github.com/ElementsProject/lightning / emit

Function emit

tests/plugins/custom_notifications.py:14–17  ·  view source on GitHub ↗

Emit a simple string notification to topic "custom"

(plugin)

Source from the content-addressed store, hash-verified

12
13@plugin.method("emit")
14def emit(plugin):
15 """Emit a simple string notification to topic "custom"
16 """
17 plugin.notify("custom", {'message': "Hello world"})
18
19
20@plugin.method("faulty-emit")

Callers

nothing calls this directly

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected