Toggle menu

releaseLocks(lockNames)

Description

Releases named cluster-wide locks, specified as an array of lockName strings. Returns {"locksReleased": true} upon the lock(s) successful release (a "successful release" includes closing a lock that does not exist).

If you are working in an End Point, this.releaseLock should be used. See the End Point "this" object for more information.

Parameters

NameTypeDescription
lockNamesArray (stings), requiredThe locks to release

Example

let releaseLock = this.callWorkerMethod("formutils", "releaseLocks", {
    "lockNames": ["examplelock1", "examplelock2"]
});

Last modified on August 01, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon