Hermann icon indicating copy to clipboard operation
Hermann copied to clipboard

Producer push method to return an executing Promise

Open jamescway opened this issue 9 years ago • 0 comments

Changed the Promise creation to have it immediately start executing the code block. The returned promise is executing.

p = Hermann::Producer.new('test', '0:9092')
promise = p.push("test123")  #promise is executing
sleep 2

jamescway avatar Oct 07 '14 22:10 jamescway