Method Thread.ResourceCount()->drained()
- Method drained
 finalbooldrained(void|intlevel)- Parameter 
level The maximum level that is considered drained.
- Returns
 True if the resource counter drops to equal or below
level.
final  bool drained(void|int level)
levelThe maximum level that is considered drained.
True if the resource counter drops to equal or below level.