Comments (2)
Two notes:
- I am using native promises.
- This is in an Electron (5) app. Perhaps that's relevant.
Thanks regardless for the cool library.
from blocked-at.
It depends on the function wrapping your code. blocked-at uses async hooks and some of the ways your code can run are not tracked by async hooks (yet, opefully)
eg. bluebird promises only recently started being visible to hooks.
If you use native promises and put this code in a then function, it should work. No guarantees though :)
Feel free to reopen
from blocked-at.
Related Issues (17)
- Look for potential false-positives HOT 5
- TypeError: Cannot set property 't0' of undefined HOT 9
- TypeError: Cannot read property 'includes' of undefined HOT 5
- hey, you. Post stacktrace examples HOT 27
- Hangs application after first block HOT 2
- getting OOM errors since using this HOT 6
- failing test: Expected test/index.js:17 in stack trace HOT 2
- async hooks deprecated :( HOT 3
- Version 10 of node.js has been released
- Reports fs.exists() to be blocking with Node V8.x HOT 2
- Stack trace is always undefined
- Additional load caused by library HOT 4
- Import triggers false positive HOT 2
- asyncHooksRegEx doesn't match the correct traces HOT 1
- Use in Express middleware
- blocked-at is unusable on express web servers - spikes CPU to 100% HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blocked-at.