Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ init
Function
init
tests/plugins/badinterp.py:10–12 ·
view source on GitHub ↗
(options, configuration, plugin)
Source
from the content-addressed store, hash-verified
8
9
@plugin.init()
10
def
init(options, configuration, plugin):
11
plugin.log(
"slow_init.py initializing {}"
.format(configuration))
12
time.sleep(int(os.getenv(
'SLOWINIT_TIME'
,
"0"
)))
13
14
15
plugin.run()
Callers
nothing calls this directly
Calls
1
log
Method · 0.80
Tested by
no test coverage detected