Initial version of nodejs integration

What is the implication of calling done before all emit was completed?