PgIpLock.(constructor)

Constructs a new instance of the PgIpLock class

Signature:

constructor(
    channel: string, 
    options: PgIpLockOptions, 
    uniqueKey?: string | undefined);

Parameters

Parameter

Type

Description

channel

string

source channel name to manage locking on

options

PgIpLockOptions

lock instantiate options

uniqueKey

string | undefined

(Optional) unique key for specific message

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.