title: React native async/wait not waiting
body: <p>I am new to react-native. I am trying to use async/await but it doesn't wait for other function  to return response and alert immediately it will not wait 4 seconds. Here is my code Please help me. Thanks in advance:</p>
  
  <pre><code>import {
    AsyncStorage,
    Platform
  } from 'react-native';
  
  
  export const  hello =async()=&gt;{
   const value=await refreshToken();
   alert(value);
   return "adasd";
  }
  
  
  const refreshToken=async()=&gt;{
    setTimeout(async()=&gt;{
      return true;
    },4000);
  }
  </code></pre>