On 7/24/20 4:45 PM, Alessio Vanni wrote: > > The problem I'm facing is that due to the presence of CADET, I don't > have an immediate way to associate a certain task with a certain reply, > as CADET is another async operation. > > If really the only way (or the more correct) is to have the ID in the > message sent to the remote peer then I supposed I'll do it, but I > thought I'd first ask people with more expertise, especially since I'd > like to have it work similarily to what GNUnet offers in its services' > APIs (e.g. `GNUNET_GNS_lookup_cancel'.)
I'm still not exactly sure what you are doing, but indeed putting an ID into the request and the reply is a very common pattern that is almost never wrong ;-).
signature.asc
Description: OpenPGP digital signature
