Skip to content

Commit 8588513

Browse files
authored
Merge pull request #4 from elasticio/emit-end
added emit end
2 parents 7ac8c7d + 20b499d commit 8588513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/actions/emitConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ function processAction(msg, cfg) {
1717

1818
console.log('About to emit config data as a body');
1919
this.emit('data', messages.newMessageWithBody(jsonConfigData));
20+
this.emit('end');
2021
}

0 commit comments

Comments
 (0)