Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RedisLock

Hierarchy

  • RedisLock

Index

Methods

Methods

extend

  • extend(duration: number): Promise<void>
  • Extend the duration of the lock for the node owning it

    Parameters

    • duration: number

    Returns Promise<void>

unlock

  • unlock(): Promise<void>
  • Free the lock so other nodes can request it

    Returns Promise<void>

Generated using TypeDoc