Add support to emit either in sequence or pipeline. Closes troopjs/troopjs-core#81