Add back CI (#2785)
* Add back CI, remove ospec as a run-time dependency * Fix the lint:docs errors * Add back ospec for now, with a compatible version
This commit is contained in:
parent
da1454b3c6
commit
ea680dc917
7 changed files with 113 additions and 46 deletions
|
|
@ -519,7 +519,7 @@ In typical scenarios, streaming won't provide noticeable performance benefits be
|
|||
|
||||
#### Promises are not the response data
|
||||
|
||||
The `m.request` method returns a [Promise](promise.md), not the response data itself. It cannot return that data directly because an HTTP request may take a long time to complete (due to network latency), and if JavaScript waited for it, it would freeze the application until the data was available.
|
||||
The `m.request` method returns a `Promise`, not the response data itself. It cannot return that data directly because an HTTP request may take a long time to complete (due to network latency), and if JavaScript waited for it, it would freeze the application until the data was available.
|
||||
|
||||
```javascript
|
||||
// AVOID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue