rust-lightning/lightning-background-processor
Elias Rohrer 018908fe9e
Make event handling fallible
Previously, we would require our users to handle all events
successfully inline or panic will trying to do so. If they would exit
the `EventHandler` any other way we'd forget about the event and
wouldn't replay them after restart.

Here, we implement fallible event handling, allowing the user to return
`Err(())` which signals to our event providers they should abort event
processing and replay any unhandled events later (i.e., in the next
invocation).
2024-07-18 15:54:21 +02:00
..
src Make event handling fallible 2024-07-18 15:54:21 +02:00
Cargo.toml Use native check-cfg lint in cargo beta 2024-07-12 11:48:15 +02:00