Skip to content

Commit

Permalink
If we have data attached, wait for data
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Oct 23, 2017
1 parent 857d5e4 commit b4929e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Kick.coffee
Expand Up @@ -20,6 +20,7 @@ exports.getComponent = ->

c.process (input, output) ->
return unless input.hasStream 'in'
return if input.attached('data').length and not input.hasData 'data'
bang = input.getData 'in'
data = input.getData 'data'
output.send
Expand Down

0 comments on commit b4929e7

Please sign in to comment.