title: React Native Promise <fulfilled>
body: <p>Why is it i cant get the token even the result is Promise fulfilled?</p>
  <pre><code>  useFocusEffect(
      React.useCallback(() =&gt; {
        const task = InteractionManager.runAfterInteractions(() =&gt; 
        {
          const _token =  AsyncStorage.getItem('@token');
          setToken(_token);
          console.log(&quot;============================================&quot;, _token)
          GetFolderInformation(token, folderId)
          navigation.closeDrawer();
        });
        return () =&gt; task.cancel();
      }, [folderId])
    );
  </code></pre>
  <p><a href="https://i.stack.imgur.com/qc0On.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qc0On.png" alt="enter image description here" /></a></p>