Missing GET
This commit is contained in:
parent
d3e3e95422
commit
f4ae670848
@ -21,6 +21,19 @@ class ClientCompat
|
||||
await this.client.connect();
|
||||
}
|
||||
|
||||
async GET( key, handler )
|
||||
{
|
||||
try
|
||||
{
|
||||
await this._connect();
|
||||
handler( await this.client.GET( key ) );
|
||||
}
|
||||
catch( error )
|
||||
{
|
||||
handler( undefined, error );
|
||||
}
|
||||
}
|
||||
|
||||
async HGET( key, field, handler )
|
||||
{
|
||||
try
|
||||
@ -34,7 +47,6 @@ class ClientCompat
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
async HGETALL( key, handler )
|
||||
{
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user