Created
February 21, 2018 10:52
-
-
Save singingwolfboy/5df88b35c08df6f413e12ef2b805c0aa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import { doStuff } from "parent"; | |
export handle = (data, context, callback) => { | |
return doStuff(data, context, callback, "custom-arg-1"); | |
} |
This file contains hidden or 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
import { doStuff } from "parent"; | |
export handle = (data, context, callback) => { | |
return doStuff(data, context, callback, "custom-arg-2"); | |
} |
This file contains hidden or 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
export doStuff = (data, context, callback, myCustomArg) => { | |
// ... do whatever you want | |
return whatever; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment