Created
June 2, 2020 18:21
-
-
Save behnamazimi/a6a7964662eba5e7c572298dcfaad31e to your computer and use it in GitHub Desktop.
ClientHandler.setClient.js
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
new ClientHandler(clientConfig) | |
.setClient(manualClient) | |
.setHook(HOOKS.BEFORE_RESOLVE, res => res.body) // get result and return the data property | |
.fire({parallel: true}) | |
.then(res=> { | |
//... | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment