BewareMyPower commented on code in PR #169: URL: https://github.com/apache/pulsar-client-cpp/pull/169#discussion_r1066677139
########## include/pulsar/Producer.h: ########## @@ -23,13 +23,16 @@ #include <pulsar/defines.h> #include <stdint.h> +#include <functional> #include <memory> namespace pulsar { class ProducerImplBase; class PulsarWrapper; class PulsarFriend; +typedef std::function<void(Result, const MessageId& messageId)> SendCallback; +typedef std::function<void(Result)> CloseCallback; Review Comment: Why did you add these extra definitions? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org