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

Function run_graceful

tests/test_misc.py:4400–4405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4398 notifications = []
4399
4400 def run_graceful():
4401 def capture(message, **kwargs):
4402 if message:
4403 notifications.append(message)
4404 with l1.rpc.notify(capture):
4405 return l1.rpc.graceful()
4406
4407 fut = executor.submit(run_graceful)
4408 result = fut.result(TIMEOUT)

Callers

nothing calls this directly

Calls 2

gracefulMethod · 0.80
notifyMethod · 0.45

Tested by

no test coverage detected