documentcloud/underscore — Issue #364: Should `_.after` execute immediately if set to 0?
Author: yuchi
Created: 2011-11-04 13:19:15+00:00
State: open

In node.js and expecially in many async map I see myself doing the following:

```coffeescript
# not actual code, but very similar
retrievieOrganization: (id, callback) ->
Models.Organization.load id, (organization) ->
organization.getAdministrators (adminIds) ->
admins = []
# here's the point!
(pass = _.after adminIds.length + 1, ->
callback organization, admins
)()
for adminId in adminIds
Models.User.load adminId, (adminModel) ->
admins.push adminModel
pass()
```

Shouldn't `_.after(0, fn)` call immeditaley `fn`?