Used in the pattern 〜そばから, following the attributive form of a verb, to indicate that something happens immediately after another action, often with a nuance of repetition or inevitability.
See also: そばから
I forget things as soon as I learn them.
The kids make a mess right after I tidy up.
She is always by his side.
There's a convenience store near the station.
I kept water close by and went to sleep.
My mother watched over me from close by.