motion/reactor.rb in bubble-wrap-1.1.4 vs motion/reactor.rb in bubble-wrap-1.1.5

- old
+ new

@@ -48,10 +48,10 @@ end # Defer is for integrating blocking operations into the reactor's control # flow. # Call defer with one or two blocks, the second block is optional. - # operator = proc do + # operation = proc do # # perform a long running operation here # "result" # end # callback = proc do |result| # # do something with the result here, such as trigger a UI change