Skip to content

Instantly share code, notes, and snippets.

@codyzu
Created September 6, 2019 12:17
Show Gist options
  • Save codyzu/bf278b898b778f6c22baedb5fa087d7e to your computer and use it in GitHub Desktop.
Save codyzu/bf278b898b778f6c22baedb5fa087d7e to your computer and use it in GitHub Desktop.
const R = require('ramda');
const ctx = {
// ...
};
R.pipeWith(R.then, [getUserFromDatabase, sendMessageToUser, replyOk])(ctx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment