I'm reading lecture note Continuous-Time Markov Chains:
A stochastic process $\{X(t): t \geq 0\}$ on $(\Omega, \mathcal F, \mathbb P)$ with discrete state space $\mathcal{S}$ is called a continuous-time Markvov chain if for all $(t,s,i,j) \in \mathbb R_+^2 \times \mathcal{S}^2$, we have $$ \mathbb P[X(s+t)=j | X(s)=i,\{X(u): 0 \leq u<s\}]=\mathbb P[X(s+t)=j | X(s)=i]=P_{i j}(t) $$
Assume $\mathcal{S}=\mathbb{Z}=\{\cdots,-2,-1,0,1,2, \cdots\}$. Suppose now that whenever a chain enters state $i \in \mathcal{S}$, independent of the past, the length of time spent in state $i$ is a continuous, strictly positive (and proper) random variable $H_{i}$ called the holding time in state $i$.
Could you please explain how random variable $H_i:\Omega \to \mathbb R$ is defined, i.e., what is $H_i (\omega)$?