6 namespace org { namespace ldk { namespace structs {
10 * A read-only reference to a current ChannelMonitor.
12 * Note that this holds a mutex in [`ChainMonitor`] and may block other events until it is
15 public class LockedChannelMonitor : CommonBase, IDisposable {
16 internal LockedChannelMonitor(object _dummy, long ptr) : base(ptr) { }
17 public void Dispose() {
18 if (ptr != 0) { bindings.LockedChannelMonitor_free(ptr); }