JsBridge icon indicating copy to clipboard operation
JsBridge copied to clipboard

mt.js uses synchronous calls - is there a reason for this?

Open rkaiser0324 opened this issue 10 years ago • 1 comments

Excellent library here!

One thing I've noticed is that mt.js appears to send all requests synchronously, resulting in thread blocking. In our case, it's very noticeable with a HTML5 slider control, that calls Mt.App.fireEvent many times in succession as its dragged.

Is there a reason that this couldn't be modified to make requests asynchronously instead?

rkaiser0324 avatar Mar 28 '14 03:03 rkaiser0324

I'm not aware of any limitation. Would take a pull request.

cdeutsch avatar Nov 11 '14 13:11 cdeutsch