Skip to content

Why does the go redis/v8 version function input must have a context type? #1697

Answered by vmihailenco
MrGlp asked this question in Q&A
Discussion options

You must be logged in to vote

context.Context is mainly used for canceling operations and tracing. It is a general Go feature so you should be able to google more info if needed.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vmihailenco
Comment options

You must be logged in to vote
6 replies
@elgs
Comment options

@HeCorr
Comment options

@nicksherron
Comment options

@elgs
Comment options

@nicksherron
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1694 on March 14, 2021 09:47.