MCPcopy
hub / github.com/ampproject/amphtml / throwAsync

Method throwAsync

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

* @param {!Error} error

(error)

Source from the content-addressed store, hash-verified

3830 * @param {!Error} error
3831 */
3832 static throwAsync(error) {
3833 setTimeout(() => {
3834 throw error;
3835 });
3836 }
3837}
3838
3839/**

Callers 3

getExperimentsFunction · 0.80
parseSetExperimentFunction · 0.80
sendPostMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected