]> git.bitcoin.ninja Git - rust-lightning/commit
Add join method to BackgroundProcessor
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 19 Jul 2021 17:50:56 +0000 (12:50 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 28 Jul 2021 21:30:51 +0000 (16:30 -0500)
commite260cfcd9bb647b4f7838b3435b49132b36b54cf
treeda583c1276cb56de2dd29615219062cb942a0744
parent4f05db6af84d76597d0cd0a03c6a00ec825fc7bf
Add join method to BackgroundProcessor

The previous commit wraps the background thread's JoinHandle in an
Option. Providing a dedicated method to join hides this implementation
detail from users.
lightning-background-processor/src/lib.rs