Thanks Ian,
On Sun, Apr 4, 2021, at 19:42, Ian Lance Taylor wrote:
> Speaking more broadly, while a context is often a deadline, it can
> also be cancelled for other reasons (via ctx.WithCancel). Those other
> reasons can include things like "we no longer need this data." So
> that is an argumen
On Sun, Apr 4, 2021 at 6:13 AM Sam Whited wrote:
>
> In a library I have a `func(context.Context, net.Conn)' (more or less,
> https://godoc.org/mellium.im/xmpp#NewSession). The context is used
> throughout the function to eg. break out of loops, gets passed into
> other functions, etc. and the con