The generator function is invoked once for each Interest. It should generate successive retx
intervals for the given Interest, based on the policy it represents. When the generator ends
(no more values from the returned iterable), no more retx is allowed.
Function to generate retransmission intervals.