// CanClaim sleeps 30ms per claimed task.
CanClaim sleeps 30ms per claimed task.
// CanClaim sleeps 30ms per claimed task .
func (b *SleepBalancer) CanClaim(string) bool {
	num := len(b.ctx.Tasks())
	time.Sleep(time.Duration(num) * sleepBalLen)
	return true
}
func ( b * SleepBalancer ) CanClaim ( string ) bool { num := len ( b . ctx . Tasks ( ) ) time . Sleep ( time . Duration ( num ) * sleepBalLen ) return true }
CanClaim sleeps 30ms per claimed task.
CanClaim sleeps 30ms per claimed task .