Currently all visitor contexts are loaded synchronously via JavaScript. In order to allow the loading of contexts from third party APIs, let's allow asynchronous loading. When all call to getContext returns a JavaScript Promise, then it will be loaded asynchronously. All getContext methods that return something else will be treated as synchronous loads.

http://www.html5rocks.com/en/tutorials/es6/promises/

Comments

  • Commit 98901a8 on 7.x-1.x by eshta:
    Issue #2286077 by eshta: Allow asynchronous loading of visitor context...
eshta’s picture

Status: Active » Fixed

  • Commit eea463c on 7.x-1.x by eshta:
    Issue #2286077 by eshta: fixed multi-agent processing of visitor...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.