Function getKeys

  • A generic method to find all keys which match a pattern.

    Parameters

    • pattern: string
    • count: number = scanCount
    • keysAry: string[] = []
    • cursor: number = 0

    Returns Promise<string[]>

    likely has a * at the end of the string. Other arguments are for recursion and not required.