On Mon, Jan 14, 2019, 2:23 AM Mahendra Bhoir <mahendra....@gmail.com> wrote:
> APIs I have written are for mobile applications and request cancellation > doesn’t happen much on mobile applications. What if the mobile client closes the app in the middle of an expensive request? I think I am little confused with uses of context. > > I found this page on Internet about context. I this will clear my > confusions.. > > > https://www.sohamkamani.com/blog/golang/2018-06-17-golang-using-context-cancellation/#listening-for-the-cancellation-event > > On Sun, 13 Jan 2019 at 6:24 PM, Tamás Gulácsi <tgulacs...@gmail.com> > wrote: > >> Timing out and cancellation are the main uses of Context. >> >> How do you cancel processing when the client clises the connection? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > *Mahendra Bhoir.* > *+919545688916* > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.