lightning/plugins/src
Justin Moon 57d21206db cln_plugin: add shutdown() method to Plugin
When plugins receive a "shutdown" notification, then can call this
method which will shutdown `cln_plugin`.

Then they can await `plugin.join()` and do any remaining cleanup
there.

This helps avoid a pain-point where plugin authors need to handle
2 separate plugin shutdown mechanisms https://github.com/ElementsProject/lightning/issues/6040
2023-03-18 11:52:29 +00:00
..
codec.rs cln-plugin: Adjust visibility of some internals 2022-11-25 16:48:33 +01:00
lib.rs cln_plugin: add shutdown() method to Plugin 2023-03-18 11:52:29 +00:00
logging.rs cln-plugin: Prep the logging payload in a let 2022-09-25 15:13:12 +02:00
messages.rs cln-plugin: Adjust visibility of some internals 2022-11-25 16:48:33 +01:00
options.rs Adds helper functions to cast Value variants 2022-12-21 10:56:13 +01:00