[Rock-dev] Asynchronous method to write on InputPorts

Javier Hidalgo Carrió javier.hidalgo_carrio at dfki.de
Wed May 21 17:55:09 CEST 2014


port.write(sample) do |result,error|
>     puts "could not send sample" if error
> end
>
> port.write(sample) do |result|
>     # will only be called if sample was sent
> end
Supergeil!!

Thanks, Javier.
>
> Alex



More information about the Rock-dev mailing list