Yes, the write_cb will be delayed until uv_run is called, so you have to call it afterwards if you want that notification
On Tue, Jan 1, 2019 at 9:07 PM Iñaki Baz Castillo <[email protected]> wrote: > On Wed, 2 Jan 2019 at 03:05, Jameson Nash <[email protected]> wrote: > > > > I'm not sure what you're asking. Yes, you should call `uv_run` > afterwards and wait for the write_cb. But that doesn't have a relation to > the timing of the actual write to the fd. > > I know that I must wait for the the write_cb, I've running code. My > only question now is whether uv_run() can be called after calling > uv_write(). > > -- > 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 https://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 https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
