MCPcopy 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()
10def init(options, configuration, plugin):
11 plugin.log("slow_init.py initializing {}".format(configuration))
12 time.sleep(int(os.getenv('SLOWINIT_TIME', "0")))
13
14
15plugin.run()

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected