by Ludek » Sat Apr 04, 2020 12:24 pm
Hi,
I guess that the problem is that commitAsync is not property, but
method.
So use
itm.commitAsync(); instead!
Also I think that the 'async' is not needed, you can use just 'function' or the arrow notation, i.e. (itm) => {.....
And if you want to make the processing faster for large lists then use fastForEach from mminit.js
Code: Select all
fastForEach(list, function (itm) { ....
just note that in the fast variant the itm object is just 'temporal JS object that is used for binding all tracks', i.e. you should avoid using it outside of function(itm) {... body.
Hi,
I guess that the problem is that commitAsync is not property, but [b]method[/b].
So use [b]itm.commitAsync();[/b] instead!
Also I think that the 'async' is not needed, you can use just 'function' or the arrow notation, i.e. (itm) => {.....
And if you want to make the processing faster for large lists then use fastForEach from mminit.js
[code]
fastForEach(list, function (itm) { ....
[/code]
just note that in the fast variant the itm object is just 'temporal JS object that is used for binding all tracks', i.e. you should avoid using it outside of function(itm) {... body.