title: call async function from another file
body: <p>I have a class and I call the API from its. But I'm refactoring the code and I would like to call this function from another file. 
  That's my current function called in same file of my Screen class. </p>
  
  <blockquote>
    <p>MyScreen.js</p>
  </blockquote>
  
  <pre><code>addWishList(product) {
   this.addProductsToWishlist(product);
  }
  
  
   async addProductsToWishlist(product){
    const loggedCustomerID = await SecureStore.getItemAsync('loggedUserCustomerID');
    const wishListID = await SecureStore.getItemAsync('loggedUserWishlistID');
      try {
        let dataRequest = {
          method: 'POST',
          body: JSON.stringify({
            CustomerID: loggedCustomerID,
            WishlistID: wishListID,
            WishlistProducts: [{
              ProductID: product.ProductID,
              Quantity: 1,
              WebSiteID: 1
            }
            ]
  
        }),
          headers: HEADERS_API
        }
  
        const addProductsToWishlistApiCall = await fetch(ADD_PRODUCT_WISHLIST_URL, dataRequest);
        const addProductsToWishlistApiResponse = await addProductsToWishlistApiCall.json();
        console.log(addProductsToWishlistApiResponse.SavedWishlistProductIDs)
        this.setState({wish: !this.state.wish});
        } catch(err) {
          console.log("Error fetching data-----------", err);
      }
    }
  </code></pre>
  
  <p>How could I put this function in another file and call it from my screen file?</p>