Hi, does OS.File guarantees that write tasks that have started will be 
completed if a shutdown occurs? My use case is for writeAtomic but I'm 
interested about the behavior of both write and writeAtomic.
Corner case: what if I call write/writeAtomic from an xpcom-shutdown observer?

Another question: are the write tasks queued and completed in order, or can two 
writeAtomic calls to the same file race each other and the 2nd call finish 
first (only to have the 1st call finish and write older data)

Thanks,
Felipe
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to