[QUESTION] Transaction returns bluebird promise?
See original GitHub issueWe recently migrated from knex 0.15.2 to 0.19.1. In the CHANGELOG, I noticed that starting from 0.18.0 you’ve removed bluebird from knex. However while looking at the transaction.js
file I still see bluebird being used and it looks like the Promise being returned is a Bluebird promise and not a native one. Is my understanding correct? Or am i missing something?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
How to return plain values from bluebird promises?
I am using Bluebird promises for running an async function in this fashion. var contract_creation = function creation(contractName){ return new ...
Read more >Working with Callbacks - Bluebird JS
Promise returning functions should never throw, they should always successfully return a promise which is rejected in the case of an error. Throwing...
Read more >Promise.resolve - Bluebird.js
Create a promise that is resolved with the given value. If value is already a trusted Promise , it is returned as is....
Read more >Cancellation - Bluebird.js
function makeCancellableRequest(url) { return new Promise(function(resolve, ... The problem: "what should happen if .cancel() is called on firstConsumer ?
Read more >Promise.using - Bluebird.js
If I return a Promise.reject(e) inside using() callback, like below, does client still get closed? function someFunct(callback) {. using(getConnection() ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Apologies for the late response and thank you for clarifying!
You are welcome!