When does Cryptomator "commit" file changes to a vault?

I searched but didn’t find an answer on this. Perhaps I missed it.

Anyway, when are file changes (adds, deletes, etc.) committed to an open Cryptomator vault?

For example: I have a vault open and paste some files into it. Does Cryptomator update the vault immediately or does it not do that until the vault is locked?

Encryption happens on-the-fly.

So “immediately” is correct.