although the payjoin code itself does no IO, in case callbacks need to do that, currently we'd need some kind of blocking thread to accomodate that.
in case the callbacks do need to do IO (which in general they would), does it make more sense to default the methods that do call them to be async? this is more general, since async code can call non async code, and since our code doesn't await or spawn tasks or anything like that this should work with any runtime, but does introduce some friction if using the code in a non async environment
the thing that makes the most sense to me is to just keep ignoring this for now, and add async variants in the future when/if they are needed, but maybe there is a clever way to make them async with no downsides to blocking code, in which case we might want to do this for 0.24 to reduce long term API churn
although the payjoin code itself does no IO, in case callbacks need to do that, currently we'd need some kind of blocking thread to accomodate that.
in case the callbacks do need to do IO (which in general they would), does it make more sense to default the methods that do call them to be async? this is more general, since async code can call non async code, and since our code doesn't await or spawn tasks or anything like that this should work with any runtime, but does introduce some friction if using the code in a non async environment
the thing that makes the most sense to me is to just keep ignoring this for now, and add async variants in the future when/if they are needed, but maybe there is a clever way to make them async with no downsides to blocking code, in which case we might want to do this for 0.24 to reduce long term API churn