If I attempt an asynchronous write using OS.File.writeAtomic in a quit-application-requested observer, is there a possibility that the write will fail, since the observer will return before the write is completed, and the shutdown will continue?
Is the OS.File API preserved until all promises are kept, or is it possible for the shutdown to destroy it while there is still an unfulfilled promise?