They peform a similar function to a bleed valve, in that they bleed off boost, but do it in a different way. There are 2 valves, the first one only opens when a set pressure is reached, the second then controlls the rate of bleed (ie the boost level)
The idea is the wastegate will not lift off it's seat till the set boost pressure is reached - reducing lag.