public static SetBitAsync ( RedisKey key, long offset, bool value ) : Task |
||
key | RedisKey | /// The key. /// |
offset | long | /// The offset. /// |
value | bool | /// The value. /// |
return | Task |
public static Task<bool> SetBitAsync(RedisKey key, long offset, bool value)
{
Task<bool> result = SharedCache.Instance.GetWriteConnection(key)
.GetDatabase(SharedCache.Instance.Db)
.StringSetBitAsync(key, offset, value);
return result;
}