Mutexed<const T>(FS): typeof _MutexedFS & (new (...args: ConstructorParameters<T>) => _MutexedFS<InstanceType<T>>)
Internal
This serializes access to an underlying async filesystem.
For example, on an OverlayFS instance with an async lower
directory operations like rename and rmdir may involve multiple
requests involving both the upper and lower file systems -- they
are not executed in a single atomic step. OverlayFS uses this
to avoid having to reason about the correctness of
multiple requests interleaving.
This serializes access to an underlying async filesystem. For example, on an OverlayFS instance with an async lower directory operations like rename and rmdir may involve multiple requests involving both the upper and lower file systems -- they are not executed in a single atomic step. OverlayFS uses this to avoid having to reason about the correctness of multiple requests interleaving.