Skip to content

what's the point of context in redis client? #3084

Answered by RPGillespie6
zYasser asked this question in Q&A
Discussion options

You must be logged in to vote

For example, you might be connecting to redis in an HTTP handler, and if the HTTP client terminates the connection, there's no point in continuing on with some redis operation. The context lets redis client know that the operation has been cancelled.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zYasser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants