joelpurra/collectcalls — pull request #2 by joelpurra (2012-02-03 16:38:43+00:00)
Title: Test if collected calls are actually functions, Code Contracts style

In the case anyone tries to `.push(...)` a non-function, it will be caught and an error will be thrown.

Since the invocation is already `try-catch`-wrapped, it only makes a difference when pushing after the queue has been wrapped. This is inconsistent behavior and might be confusing.

Feedback please.