Add an optional callback trait which can be implemented and provided to most flashing functions - #333
Conversation
|
Thanks! This looks awesome, although I have two small comments:
|
|
Should be fine for my purposes. Certainly improves the API. |
…to most flashing functions
e3602ee to
ae647bf
Compare
|
@bugadani I briefly poked at this and tried to get it working with |
|
Oh, please don't feel like my comments are anything more than mere wishes. I'm pretty happy with the PR as is :) |
|
Okay, glad to hear that. In that case I'm just going to merge this I suppose, we still have the opportunity to tweak it if needed. |
Hopefully this will make
espflasha bit more usable as a library.@bugadani does this seem reasonable enough to you? Would love to hear any feedback you might have.
I suppose this is sort of an extension of #283 as well, so @svenstaro will this still work for your use case as well? Sorry for changing this again 😁
Closes #310.