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

Method constructor

src/polyfills/abort-controller.js:4–7  ·  view source on GitHub ↗

Constructor.

()

Source from the content-addressed store, hash-verified

2class AbortController {
3 /** Constructor. */
4 constructor() {
5 /** @const {!AbortSignal} */
6 this.signal_ = new AbortSignal();
7 }
8
9 /** Triggers an abort signal. */
10 abort() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected