Loading...
Was this page helpful?
This documentation provides a reference to the acquireLockStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step acquires a lock for a given key. Learn more about locks in the Locking Module guide.
AcquireLockStepInput
AcquireLockStepInputkey
string | string[]timeout
numberOptionalDefault: 0
retryInterval
numberOptionalDefault: 0.3
ttl
numberOptionalownerId
stringOptionalprovider
stringOptionalskipOnSubWorkflow
booleanOptional