Pike v8.0 release 1738

Method Thread.ResourceCount()->drained()


Method drained

final bool drained(void|int level)

Parameter level

The maximum level that is considered drained.

Returns

True if the resource counter drops to equal or below level.