How to limit speed of transmission on some kind of condition

Hello,
The wiki says:

server {
if ($slow) {
set $limit_rate 4k;
}
}

How to define $slow , config $slow or set $slow ?

Posted at Nginx Forum: