Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
is it safe to use the ADRUM methods in a web worker ?
Since web workers can't reference DOM, is it safe to use the following code for Creating the virtual pages and Reporting the data to the EUM cloud inside of a web worker?
var
vPageView =
new
ADRUM.events.VPageView({
});
vPageView.start();
vPageView.end();
ADRUM.report(vPageView);
is it safe to use the ADRUM methods in a web worker ?
Since web workers can't reference DOM, is it safe to use the following code for Creating the virtual pages and Reporting the data to the EUM cloud inside of a web worker?
var
vPageView =
new
ADRUM.events.VPageView({
});
vPageView.start();
vPageView.end();
ADRUM.report(vPageView);
Abhinav,
Let me check and get back to you on this.
Regards,
Mohammed Rayan
Abhinav,
As the code can be executed safely and data can be reported to cloud. So, it would be fine calling these in Web Workers too.
Regards,
Mohammed Rayan
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form