-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NodeJS 8 initial support for Serverless OpenWhisk #2077
Comments
@csantanapr, can this be closed? |
This is complete now |
Can you add a link to dockerhub image or doc link for what to specify the kind as? |
Nodejs 8 runtime details here and A cool example on async/await const { promisify } = require('util');
const request = promisify(require('request'));
async function main({
location='Vermont',
url=`https://query.yahooapis.com/v1/public/yql?q=select item.condition from weather.forecast where woeid in (select woeid from geo.places(1) where text="'${location}'")&format=json`
}){
let response
try {
response = await request(url)
} catch (err) {
console.error('Http error', err)
return Promise.reject({Error:err});
}
return JSON.parse(response.body).query.results.channel.item.condition;
} |
No description provided.
The text was updated successfully, but these errors were encountered: