lightningdevkit / lightning-liquidity

Other
27 stars 17 forks source link

Scaffolding for event handling in future protocols #7

Closed johncantrell97 closed 1 year ago

johncantrell97 commented 1 year ago

Adds the concept of events to the library. Future protocols should:

End user is currently expected to poll for events using either:

or

Perhaps we want an async version that returns a Future as well?