Skip to content

Instantly share code, notes, and snippets.

@pvandenheede
Last active April 28, 2016 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvandenheede/f832b56ce5ef2cb615907b6a82bbd4dd to your computer and use it in GitHub Desktop.
Save pvandenheede/f832b56ce5ef2cb615907b6a82bbd4dd to your computer and use it in GitHub Desktop.
var client = new RedisCacheClient();
// Write(Unique Typed Key, Value, Timespan
var success = client.Write(new NoMessagesAvailableCacheKey("Codit"), true, TimeSpan.FromMinutes(15));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment