title: How to get the result of a Saga?
body: <p>Let's say I have a modal with a button that dispatches an action if you click on it. And I'd like to know the result of the action dispatched: e.g. if it was successful I'll close the modal and to something different otherwise.
  With redux-thunk my action would look something like:</p>
  
  <pre><code>export const deleteObjects = () =&gt; {
    return (dispatch, getState) =&gt; {
      try {
        ...
        dispatch(setObjects([]));
        return true
      } catch (e) {
        return false
      }
    }
  };
  </code></pre>
  
  <p>so I could use the result in my component. But how to do the same with redux-sagas? As far as I know, you can use sagas with watchers. 
  One solution I could think of is to pass a callback function to the action creator and call it inside of saga. Like this:</p>
  
  <pre><code>export const deleteObjects = (callback) =&gt; ({
    type: DELETE_OBJECTS,
    callback
  });
  
  export function* deleteObjectsAsync({callback}) {
    try {
      ...
      put(setObjects([]))
      yield call(callback, true)
    } catch (err) {
      yield call(callback, false)
    }
  }
  
  
  function* watchGetPlaces() {
    yield takeEvery(DELETE_OBJECTS, deleteObjectsAsync)
  }
  </code></pre>
  
  <p>Is this a valid solution or there is a more adequate way to do so?</p>