func (client *Client) NumPending() int {
	client.pendingMutex.Lock()
	num := len(client.pending)
	client.pendingMutex.Unlock()
	return num
}
// NumPending gives the number of outstanding QoS>0 packets that have now been acknowledged yet.
NumPending gives the number of outstanding QoS>0 packets that have now been acknowledged yet.
// NumPending gives the number of outstanding QoS > 0 packets that have now been acknowledged yet .
func (client *Client) NumPending() int {
	client.pendingMutex.Lock()
	num := len(client.pending)
	client.pendingMutex.Unlock()
	return num
}
func ( client * Client ) NumPending ( ) int { client . pendingMutex . Lock ( ) num := len ( client . pending ) client . pendingMutex . Unlock ( ) return num }
NumPending gives the number of outstanding QoS>0 packets that have now been acknowledged yet.
NumPending gives the number of outstanding QoS > 0 packets that have now been acknowledged yet .