e intenral ActorSystem&#39;s dispatcher (execution context) to register callbacks
import redis.dispatcher

// Import implicit LongReader
import scredis.serialization.Implicits.longReader

redis.get[Long](&quot;foo&quot;).onComplete {
  case Success(Some(value: Long)) =&gt; // handle long value
  case Success(None) =&gt; // there was no value associated to key &#39;foo&#39;
  case Failure(e) =&gt; // an error occurred while executing the command
}
</code></pre>
<h3><a href="#writing" name="writing" class="an