Skip to content

Conversation

mcg-web
Copy link
Contributor

@mcg-web mcg-web commented Feb 13, 2017

DataLoader::await first tries to get the fulfilled value
or the rejected reason directly from the promise
otherwise calls promise adapter await
to complete promise.
Now DataLoader::await will not throw "no active
dataLoader instance" exception when Promise entry is null.

`DataLoader::await` first tries to get the fulfilled value
or the rejected reason directly from the promise
otherwise calls promise adapter `await`
to complete promise.
Now `DataLoader::await` will not throw "no active
dataLoader instance" exception when Promise entry is null.
@mcg-web mcg-web force-pushed the optimize-await-method branch from 1aea60b to 56b0f04 Compare February 13, 2017 11:07
@mcg-web mcg-web merged commit 8ad523b into overblog:master Feb 13, 2017
@mcg-web mcg-web deleted the optimize-await-method branch February 13, 2017 12:53
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.

2 participants