Mutexed
Mutexed<
T>(FS): typeof_MutexedFS& (…args) =>_MutexedFS<InstanceType<T>>
Defined in: src/mixins/mutexed.ts:320
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 used to use this to avoid having to reason about the correctness of multiple requests interleaving.
Type Parameters
Section titled “Type Parameters”T extends Concrete<typeof FileSystem>
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”typeof _MutexedFS & (…args) => _MutexedFS<InstanceType<T>>
Change using _ to using void pending https://github.com/tc39/proposal-discard-binding