Function delLock

  • Delete a lock on a job or worker. Locks can be found via api.tasks.locks Will throw an error if redis cannot be reached.

    Parameters

    • lock: string

    Returns Promise<number>