span class="hljs-function"><span class="hljs-params">context</span> =&gt;</span> {
    <span class="hljs-keyword">const</span> { Syntax, getSource } = context;
    <span class="hljs-keyword">const</span> promiseQueue = [];
    <span class="hljs-keyword">return</span> {
        [Syntax.Str](node) {
            <span class="hljs-keyword">const</span> text = getSource(node);
            <span class="hljs-comment">// add the promise object to queue</span>
            promiseQueue.push(callAsync(text));
        