It may be useful sometimes, when using asynchronous forms for SNMP request functions, to determine the number of "outstanding" requests (that is, requests that have been sent but have not yet received a response or timed out). In particular, this can be used to wait for all requests to time out before closing a custom tool, for example, so that callbacks are not triggered when they are no longer pertinent.
% snmpcmd pending
snmpcmd
% snmplib pending 0 % snmplib get -callback myCallback sysDescr.0 23 % snmplib pending 1