Yes, practically, it is the same. It just removes a lot of the mess with alloc_cb + read_cb invocations.
On Mon, Jun 30, 2014 at 11:57 AM, Iñaki Baz Castillo <[email protected]> wrote: > 2014-06-30 9:28 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>: > > https://gist.github.com/saghul/909502cc7367a25c247a > > > > (please post comments on this email thread, not the gist) > > > "A push style API can be emulated on top of this pull style API by > having a request active all the time and rearming it after a read is > performed" > > Does it mean that for just receiving data "all the time" (as the > current behavior) I should call once uv_read() and then call uv_read() > in the uv_read_cb() ? > > > -- > Iñaki Baz Castillo > <[email protected]> > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
