Type Alias: AdvisoryLockKey
AdvisoryLockKey =
unknown
What names a lock. Anything reducible to a stable identity: a string, an id, a
["invoice", id] pair, a config object, or an explicit bigint to interoperate
with another implementation’s published lock id.
One value or many: an array is read as multiple parts, anything else as a single
part. So ["invoice", 7] and "invoice_7" are different locks, since the
canonical form sees different structure.