Question: Let $X$ be a set of functions from $\mathbb{R}$ to itself. Consider the subset $X_0$ of the sequences $(f_n)_{n=1}^{\infty}\in X^{\mathbb{N}}$ for which $$ f_{\infty}(x) = \lim\limits_{n \to \infty} f_n(x), $$ is a well-defined function. Is there any literature studying the continuity of the map $$ \begin{aligned} \operatorname{Lim}: X_0 &\rightarrow \mathbb{R}^{\mathbb{R}}\\ (f_n)_{n=1}^{\infty} & \to f(\cdot):= \lim\limits_{n \to \infty} f_n(\cdot)? \end{aligned} $$
My question is in some sense motivated by the following problem:
Motivation: For each $n,k \in \mathbb{N}$ let $f_{n,k},f_{k}\in C(\mathbb{R},\mathbb{R})$ and suppose that for each $k \in \mathbb{N}$, $f_k$ is the uniform on compacts limit of $f_{n,k}$. Suppose also that there is a Borel function $f:\mathbb{R}\rightarrow \mathbb{R}$ for which $f(x)= \lim\limits_{k \to \infty}f_k\circ \dots \circ f_1(x)$.
Then, for each $x \in \mathbb{R}$, does
$$ \lim\limits_{(n,k)\to \infty}f_{n,k}\circ \dots \circ f_{n,1}(x) = f(x)? $$
In other words: when does $\lim\limits_{n \to\infty}\operatorname{Lim}((f_{n,k})_{k})=\operatorname{Lim}(f_{k})$?