title: Waiting for AsyncStorage.getItem()
body: <p>I am using <code>AsyncStorage</code> in my React Native application to store information about the user. The <code>getItem()</code> function is asynchronous and requires me to implement a callback when I want to load data from the storage system. </p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>AsyncStorage.getItem("phoneNumber").then((value) =&gt; {
      this.setState({"phoneNumber": value});
  }).done();
  </code></pre>
  
  <p>Because retrieving a value from the storage does not take long, I would like to wait until the operation is complete before continuing execution. </p>
  
  <p>Is it possible to load data in a way that is not Asynchronous? If not, is there an easy way for me to wait until the <code>getItem()</code> call is complete to continue executing?</p>