MCPcopy Create free account
hub / github.com/angular/angular / nextCallback

Method nextCallback

packages/common/http/src/jsonp.ts:120–122  ·  view source on GitHub ↗

* Get the name of the next callback method, by incrementing the global `nextRequestId`.

()

Source from the content-addressed store, hash-verified

118 * Get the name of the next callback method, by incrementing the global `nextRequestId`.
119 */
120 private nextCallback(): string {
121 return `ng_jsonp_callback_${nextRequestId++}`;
122 }
123
124 /**
125 * Processes a JSONP request and returns an event stream of the results.

Callers 1

handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected