ghcjs / jsaddle

JavaScript interface that works with GHCJS or GHC
118 stars 63 forks source link

await within async function #89

Closed schell closed 5 years ago

schell commented 5 years ago

How does one use the await operator within on an asyncFunction?

schell commented 5 years ago

You can simply use the then and catch functions. Good enough.