filter Requests By Resource
Returns a list of requests waiting for the specified resource that have requested a number of units of the resource that is less than or equal to the number of units available. Thus, any request in the returned list could be satisfied at the current time.
Return
the list with the items ordered by the queue discipline. If no items are selected, then the returned list will be empty.
Parameters
resource
the resource to check