Created
December 27, 2018 18:58
-
-
Save matisiekpl/9e86ea9f007bce31f683d36dd1da4969 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
functions: { | |
onRequest: (callback) => { | |
return { | |
callback: callback | |
}; | |
}, | |
onApp: (app) => { | |
return { | |
callback: app, | |
type: 'app' | |
} | |
}, | |
work: (event, app) => { | |
return { | |
event, | |
callback: app, | |
type: 'job' | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment