What you are referring to is a homogeneous or stationary Poisson process. In that case, the distribution of the waiting time (the difference between the time of the next event and the current time, $T_{\text{next event}}- T_{\text{current}}$), is independent of the current time
$$P(T_{\text{next event}} \leq t| T_{\text{current}}) = 1 - e^{-\lambda (t- T_{\text{current}})}$$
But we can generalize this to a non-homogeneous Poisson process, and make the rate $\lambda$ a function of time instead of a constant. In that case it becomes:
$$P(T_{\text{next event}} \leq t| T_{\text{current}}) = 1 - e^{-\int_{T_{\text{current}}}^t\lambda(t) dt}$$
The property that remains for a non-homogeneous Poisson process is that it has independent increments. The number of counts in a particular interval is independent of the number of counts in any other interval.
For example.
A Geiger counter is measuring radioactive particles.
- When we have the counter at a constant distance from the source then the waiting time will every time remain the same.
- But when we are moving the counter closer to its source then the waiting time will decrease.
We loose the property that the waiting time is independent of time. Closer to the source we should expect to observe particles with a faster rate and the waiting time should decrease. But what remains is that the counts in this process are independent. For the probabilities of the number of counts that we will observe in a particular interval it doesn't matter how many counts we observed previously.
We can see $\lambda(t)$ as the probability density of an event between $t$ and $t+dt$ (see also here) and independent from any arrivals at other times.
In a very rough way, when we talk about a generalized linear model, we can do away with all this stuff about a Poisson model and just define the conditional probability:
$$f(y\vert X,\beta) = \text{Poisson}(g^{-1}(X\beta))$$
that is, the distribution of $y$, conditional on regressors $X$ (which could be for instance a function of time) and parameters $\beta$ is a Poisson distribution with rate parameter $\lambda = g^{-1}(X\beta)$.
The definition of the conditional distribution $f(y\vert X)$ doesn't care about the 'Poisson assumptions'.