-
I've encountered an issue in the latest (7.1.0) release relating to commit 492d53e705acb6c
The issue is that `isPromise` makes a huge assumption that any object with a `then` method is a Promise. I…
-
Right now WebSockets are very primitive. Converting it to promise based approach allow us sending promise based messages to server.
```js
socket.send('topic', { message })
.then(response => {})
…
-
I _hate_ stubbing promises. It would be sweet if this lib would let me do:
```
var spy = jasmine.createSpy('some spy');
spy.when('foo').thenResolvePromiseWith({ fruit: 'banana' });
// Then later
spy…
-
in the code like this one:
``` js
return db.one(sqlStr, {
table: TABLE_NAME,
username: !!user ? user.username : true
}).catch(function (err) {
return Promise.reject(err);
}…
-
promise in node seems to be well supported now from version 4+, perhaps we can remove it now?
feels unnecessary to include dependencies that you don't need when running node 6.1.0+
Users can always i…
-
There are a lot of promise libs out there, let people chose which one they want to use.
-
Would be nice to have a promise interface, instead of callbacks, so methods could be chained like:
``` js
var createUser = factory.create('user', { name: 'Bob' })
var createGroup = factory.create('gr…
-
YellowBox.js:67 Possible Unhandled Promise Rejection (id: 0):
SyntaxError: Unexpected token o in JSON at position 1
SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse ()
a…
-
I would like to see the upgrade of the library to a new level (ES2017 standard) with async/await functions (promisify code natively).
Also maybe transfer the node-steam-tradeoffers to promises?
-
This code is blocking, and due to its length, this might be a UI performance issue if run on a Blackberry. `is` should return a promise instead.