Options
All
  • Public
  • Public/Protected
  • All
Menu

Allows the locking of resources which is needed for non-atomic ResourceStores.

Type parameters

Hierarchy

Implemented by

Index

Properties

Properties

acquire

acquire: (identifier: ResourceIdentifier) => Promise<T>

Lock the given resource.

param

Identifier of the resource that needs to be locked.

returns

A promise containing the lock on the resource.

Type declaration