MCPcopy Create free account
hub / github.com/microsoft/SandDance / onInteractionTraced

Function onInteractionTraced

docs/external/js/react.development.js:3106–3123  ·  view source on GitHub ↗
(interaction)

Source from the content-addressed store, hash-verified

3104 }
3105
3106 function onInteractionTraced(interaction) {
3107 var didCatchError = false;
3108 var caughtError = null;
3109 subscribers.forEach(function (subscriber) {
3110 try {
3111 subscriber.onInteractionTraced(interaction);
3112 } catch (error) {
3113 if (!didCatchError) {
3114 didCatchError = true;
3115 caughtError = error;
3116 }
3117 }
3118 });
3119
3120 if (didCatchError) {
3121 throw caughtError;
3122 }
3123 }
3124
3125 function onInteractionScheduledWorkCompleted(interaction) {
3126 var didCatchError = false;

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected