The answer to this is actually implied in the question: the type of transaction processing described is called real-time processing.
In real-time processing, transactions are processed immediately when it happens.
This is in contrast to another type of transaction processing called batch processing, where multiple transaction over a period of time are accumulated and then processed as one.