Refactor emitter callback.

Change to `limit = callback[LIMIT] || 0`