Event listener on Alamofire
<p>I used to build my app on Firebase before and there was a method which listens for value updates, something like this:</p>

<pre><code>refHandle = postRef.observeEventType(FIRDataEventType.Value, withBlock: { (snapshot) in
  let postDict = snapshot.value as! [String : AnyObject]
  // ...
})
</code></pre>

<p>Now I'm not using firebase anymore, I'm using deployd and I use Alamofire to retrieve data in JSON. I wonder if there is an event listener in Alamofire that can execute code if the value is changing in the database, instead of retrieving the value every 2 minutes.</p>

<p>Thanks.</p>