write<T> static method
Runs action with an exclusive claim on the bundle at rootPath.
Implementation
static Future<T> write<T>(String rootPath, Future<T> Function() action) =>
_synchronized(rootPath, action, exclusive: true);