Add documentation for 'atomicallyWithIO'