This script demonstrates how to process random data with two conditions:
- Until there is work in the queue skip binge processing -- unless
- The time from the last successfully processed event is greater than 0.6 seconds.
MIT
Free Software, Hell Yeah!