Skip to content

Added an "extract" option property to "pass" related response key to promise resolve. - #203

Open
giano wants to merge 3 commits into
mike-north:masterfrom
giano:master
Open

Added an "extract" option property to "pass" related response key to promise resolve. #203
giano wants to merge 3 commits into
mike-north:masterfrom
giano:master

Conversation

@giano

@giano giano commented Jul 24, 2017

Copy link
Copy Markdown

Useful if response is like {
response: "somethingveryuseful"
}

so passing {extract: "response"} you'll receive "somethingveryuseful" instead of main object in your "then" handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant