Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ on_custom_notification
Function
on_custom_notification
tests/plugins/custom_notifications.py:9–10 ·
view source on GitHub ↗
(origin, message, **kwargs)
Source
from the content-addressed store, hash-verified
7
8
@plugin.subscribe(
"custom"
)
9
def
on_custom_notification(origin, message, **kwargs):
10
plugin.log(
"Got a custom notification {} from plugin {}"
.format(message, origin))
11
12
13
@plugin.method(
"emit"
)
Callers
nothing calls this directly
Calls
1
log
Method · 0.80
Tested by
no test coverage detected