func (c *Client) AddResponses(rsp interface{}) error {
	c.mu.Lock()
	defer c.mu.Unlock()

	if c.closed {
		return ErrClientClosed
	}

	c.responses <- rsp
	return nil
}
// Add asynchronize response, error if the client is closed.
Add asynchronize response, error if the client is closed.
// Add asynchronize response error if the client is closed .
func (c *Client) AddResponses(rsp interface{}) error {
	c.mu.Lock()
	defer c.mu.Unlock()
	if c.closed {
		return ErrClientClosed
	}
	c.responses <- rsp
	return nil
}
func ( c * Client ) AddResponses ( rsp interface { } ) error { c . mu . Lock ( ) defer c . mu . Unlock ( ) if c . closed { return ErrClientClosed } c . responses <- rsp return nil }
Add asynchronize response, error if the client is closed.
Add asynchronize response error if the client is closed .