MCPcopy Create free account
hub / github.com/ampproject/amphtml / triggerFlowStarted

Method triggerFlowStarted

third_party/subscriptions-project/swg.js:9256–9261  ·  view source on GitHub ↗

* @param {string} flow * @param {!Object=} data * @return {boolean} Whether the callback has been found.

(flow, data = {})

Source from the content-addressed store, hash-verified

9254 * @return {boolean} Whether the callback has been found.
9255 */
9256 triggerFlowStarted(flow, data = {}) {
9257 return this.trigger_(CallbackId.FLOW_STARTED, {
9258 flow,
9259 data,
9260 });
9261 }
9262
9263 /**
9264 * @param {function({flow: string, data: !Object})} callback

Callers 11

start_Method · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80

Calls 1

trigger_Method · 0.95

Tested by

no test coverage detected