getContext()

Environment: Node.js.

Telefunctions often need context. Is the user logged-in? What is the user's ID? Etc.

We use getContext() with provideTelefuncContext() in order to pass contextual information to telefunctions, We use getContext() with provideTelefuncContext() in order to provide contextual information to our telefunctions. such as the authenticated user's ID.

TODO

  • Explain synchronous rule
  • Explain synchronous nature of getContext()

Why? If you wonder why ...