duke_from_java_by_reallyn00b-d2zdiy7

Limit method calls per minute (or any time period)

Here is something that came up in a discussion forum and I offered this quick gist as an example of how you might handle it. This is not usable code as is but demonstrates a concept. But here it is, anyway . . .

Leave a Reply

Your email address will not be published. Required fields are marked *