Function runFunctionInSpecificQueue

  • A util that adds a function to the specific queue, and the functions in the same queue will be executed in order

    Parameters

    • key: string
    • func: asyncFunction

    Returns Promise<any>