requestWanting

The first waiting request that wants the item, which is the reason the item can't be removed directly from the channel. A request wants an item that passes its predicate, whether or not the request has been told to resume.

Return

the request, or null if no waiting request wants the item

Parameters

item

the item to check