wolfstudy commented on issue #8769:
URL: https://github.com/apache/pulsar/issues/8769#issuecomment-736917843


   @flowchartsman If our go function does not require a return value, we can 
use the following method:
   
   ```
   //   func (context.Context) error
   //   func (context.Context, input) error
   ```
   
   This panic is caused by not handling the case where the output is nil. When 
a user uses a signature with an output function, we will assume that the output 
is a result by default, and we should add the processing of the nil value here, 
thanks @flowchartsman feedback.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to