title: Promises in redux-saga
body: <p>I found the same question <a href="https://stackoverflow.com/questions/41076600/how-to-achieve-callbacks-in-redux-saga">here</a>, but without a proper answer I am looking for.</p>
  
  <p>I am developing a simple application with CRUD operations. On the edit page, after the component gets mounted (<code>componentDidMount()</code>), the app dispatches an action to retrieve a specific post details:</p>
  
  <pre><code>dispatch({ type: FETCH_POST, id: 'post-id' })
  </code></pre>
  
  <p>I am using <strong>redux-saga</strong> and want the above call to return a Promise so that I can access the API response.</p>
  
  <p>Right now, without a callback/Promise, I ended up with defining a new state in store (like <code>post_edited</code>) and connect/map it to props in the component for edit page.</p>
  
  <p>What would be the best possible way to deal with this kind of situation?</p>