private async Task <long> LInsertAfterCoreAsync(byte[] key, byte[] after, byte[] value) { using var connection = new RedisConnection(_connectionSettings); var command = new LInsertAfter(connection.GetStream(), key, after, value); return(await command.ExecuteAsync()); }
private long LInsertAfterCore(byte[] key, byte[] after, byte[] value) { using var connection = new RedisConnection(_connectionSettings); var command = new LInsertAfter(connection.GetStream(), key, after, value); return(command.Execute()); }