Understanding the error and its reasons, I feel that my particular scenario falls outside the norm. I am implementing Word.run()
within another promise structure like this:
return new Promise((resolve, reject) => {
window.Word.run(context => {
// perform operations with context
resolve(someData);
});
});
From what I gather, resolving my promise in this manner potentially leaves the .run
method unresolved due to the absence of return context.sync()
. Am I on the right track with my assessment? If so, how should I modify the above example to ensure proper functionality of the .run
method?