Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Promise from jslib to c#

$
0
0
I have an issue getting data from my Firebase database. I've written a jslib which can read and write data in the database. My issue is that the function to read from the database doesn't return anything. I'm pretty sure this is caused by JavaScript being asynchronous, so it wont wait for the database to answer, therefore it just returns the promise of getting the value, instead of the actual value. What I think I need help with is either: A way to interpret the promise in C# A way to return the actual value instead of the promise

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>