An AsyncAPI Golang Code generator that generates all Go code from the broker to the application/user. Just plug your application to your favorite message broker!
When using a callback or a loop over a subscription, there is no mean to know when the latter is cancelled and potentially clean up resources or throw an error.
This commit introduces this information as a boolean in argument of callback in SubscribeXXX and as an error in WaitForXXX.
When using a callback or a loop over a subscription, there is no mean to know when the latter is cancelled and potentially clean up resources or throw an error.
This commit introduces this information as a boolean in argument of callback in SubscribeXXX and as an error in WaitForXXX.