tlewowski/zurvan

Add automatic detection of libraries

Closed this issue · 3 comments

Currently bluebird is detected by passing it as configuration parameter.

Investigate possibility of automatic detection whether bluebird (and possibly later also other libraries) are available in runtime and need to be configured properly

Additional reason: application may have several bluebirds, and user may not even know about it. we should fix schedulers nevertheless.

Most probably this will require analyzing module cache and stuff like that

can be mitigated manually by increasing size of setImmediate loop - let's at least make it a parameter

requestedCyclesAroundSetImmediateQueue is the parameter to look for here. Kinda hacky, but should work.

BTW, there will be also problems with jQuery I guess.

Closing it for now, as I'm not going to fetch every library and check if they work as desired. If issues reported by users point at as significant drawback, I'll reconsider it.