According to this page, ArcGIS Desktop supports concurrent user editing, and let user to decide when to save or discard the changes at any time. However, I am not sure if ArcGIS javascript API is also support this function, as I cannot find any related sample or document talking about this...Any idea? Thank you!