Added the missing file with Azure container functions, and moved it to helpers.
I also fixes a few issues introduced by the async calls to vocabulary.
The main issue I detected was, when adding return async (var) => inside a function (usually to then run a Promise.all()), passing the var through the internal function makes it undefined. It needs to be passed by the outer function. For example:
array.map(_ =>
return async d =>
await function(d)
)
fails because d is not passed by the array.
It needs to be like:
I tried to look for this kind of issue systematically, so I hope I have solved all of them. Maybe can you please take another quick look when you see this @JosuaKrause?
Added the missing file with Azure container functions, and moved it to helpers. I also fixes a few issues introduced by the async calls to vocabulary. The main issue I detected was, when adding
return async (var) =>
inside a function (usually to then run aPromise.all()
), passing thevar
through the internal function makes it undefined. It needs to be passed by the outer function. For example:fails because d is not passed by the array. It needs to be like:
I tried to look for this kind of issue systematically, so I hope I have solved all of them. Maybe can you please take another quick look when you see this @JosuaKrause?