clientv3/concurrency/session.go
func WithContext(ctx context.Context) SessionOption {
	return func(so *sessionOptions) {
		so.ctx = ctx
	}
}
func WithContext(ctx context.Context) SessionOption {
	return func(so *sessionOptions) {
		so.ctx = ctx
	}
}
func WithContext ( ctx context . Context ) SessionOption { return func ( so * sessionOptions ) { so . ctx = ctx } }
// WithContext assigns a context to the session instead of defaulting to
// using the client context. This is useful for canceling NewSession and
// Close operations immediately without having to close the client. If the
// context is canceled before Close() completes, the session's lease will be
// abandoned and left to expire instead of being revoked.
WithContext assigns a context to the session instead of defaulting to using the client context . This is useful for canceling NewSession and Close operations immediately without having to close the client . If the context is canceled before Close () completes the session s lease will be abandoned and left to expire instead of being revoked .