It updates token logits (probabilities) after every token before sampling. I don't think this is very common yet.
The mostly widely accessible form of this is probably BNF grammar biasing in llama.cpp: https://github.com/ggerganov/llama.cpp/blob/master/grammars/...