What happens when the client goes offline?

If the client has an intermittent internet connection how is this handled with fauna? Can they continue interacting with the app and it just syncs everything back up upon reconnections? Or do the operations fail and they have to wait until they get back online with a stable connection to continue?