This commit is contained in:
10
rediska/cache/types.hpp
vendored
Normal file
10
rediska/cache/types.hpp
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <expected>
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include "rediska/common/types.hpp"
|
||||
|
||||
namespace cache {
|
||||
using CacheOpCallback = std::function<void(std::expected<std::optional<CacheValue>, RediskaReturnCode>)>;
|
||||
}
|
||||
Reference in New Issue
Block a user