setup

Function setup 

Source
pub async fn setup(client: &Client) -> Result<(), Box<dyn Error>>
Expand description

Initializes a Redis instance with the Lua library functions required for locking.

This only needs to be done once per Redis instance, although re-doing it should be fine.

ยงErrors