askForRedisUrl
talawa-api / setup/redisConfiguration / askForRedisUrl
Function: askForRedisUrl()
> askForRedisUrl(): Promise
<{ host
: string
; password
: string
; port
: number
; }>
The function askForRedisUrl
prompts the user to enter the Redis hostname, port, and password, and
returns an object with these values.
Returns
Promise
<{ host
: string
; password
: string
; port
: number
; }>
The function askForRedisUrl
returns a promise that resolves to an object with the
properties host
, port
, and password
.