func (t *Task) LenPeers() int {
	var len int
	t.Peers.Range(func(_, _ interface{}) bool {
		len++
		return true
	})

	return len
}
// LenPeers return length of peers sync map
LenPeers return length of peers sync map
// LenPeers return length of peers sync map
func (t *Task) LenPeers() int {
	var len int
	t.Peers.Range(func(_, _ interface{}) bool {
		len++
		return true
	})
	return len
}
func ( t * Task ) LenPeers ( ) int { var len int t . Peers . Range ( func ( _ , _ interface { } ) bool { len ++ return true } ) return len }
LenPeers return length of peers sync map
LenPeers return length of peers sync map