What does "ctx" mean?
It typically stands for "context". Usually this is some structure that gets passed around to functions in a library, used to maintain state (i.e., the context of the function call).
It's a preferable alternative to using global variables.
By acronymsandslang.com It means "context". But You can look for other CTX meaning there