Assertion: promise | /r/HasProperty | returned
Facets:
value: synchronously
type: MANNER
value: from an asynchronous function
type: OTHER
Source sentences:
text: A promise is an object which can be returned synchronously from an asynchronous function.
text: If the callback doesn't have a return value, the promise that was returned by then is immediately fulfilled with no value.
text: If the callback returns something other than a promise, then the promise that was returned by then will be immediately fulfilled with that value.
text: If the callback returns a promise (like in the example), then the promise that was returned by then will wait until the promise that was returned by our callback is fulfilled.