`_.after` creates a function that calls the wrapped function only after it's been called `n` times. So I just call `sendReady` over and over, and `self.emit` will only be called once in the `n`th call. This is used to be able to call some function only after a number of async processes have finished