DEV Community

How YOU can build your first Serverless Logic app, part II

Chris Noring on September 09, 2019

Follow me on Twitter, happy to take your suggestions on topics or improvements /Chris This article is part of #ServerlessSeptember. You'll find o...
Collapse
 
u000fsr profile image
u000fsr • Edited

great post; I was just working on adding tedious to my function app and was struggling to make it async as Microsoft suggests as a best practice. The callbacks in tedious were causing the function to complete before the data came back unless the index.js entrypoint was made synchronous with context.done() called at the end. After finding your post I was able to change it back to async. Thanks!

Collapse
 
softchris profile image
Chris Noring

hi, great to hear that it helped :)

Collapse
 
mamatias profile image
Matías

I'm really really new with JS and this was exactly what i needed. Now, I'm having problems with the "util.js" file but for now i'm throwing the raw dataset without "jsonify".

Thanks!!!

Collapse
 
softchris profile image
Chris Noring

are you able to show me code, maybe a repo?