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

Method send

packages/common/http/src/resource.ts:386–390  ·  view source on GitHub ↗
(value: ResourceStreamItem<T>)

Source from the content-addressed store, hash-verified

384 const promise = new Promise<Signal<ResourceStreamItem<T>>>((r) => (resolve = r));
385
386 const send = (value: ResourceStreamItem<T>): void => {
387 stream.set(value);
388 resolve?.(stream);
389 resolve = undefined;
390 };
391
392 sub = this.client.request(request!).subscribe({
393 next: (event) => {

Callers 15

getMethod · 0.45
handleMethod · 0.45
run_coordinatorFunction · 0.45
run_async_compiler_testFunction · 0.45
block_on_with_timeoutFunction · 0.45
block_on_with_timeoutFunction · 0.45
ws-server.jsFile · 0.45

Calls 2

setMethod · 0.65
resolveFunction · 0.50

Tested by 3

run_async_compiler_testFunction · 0.36
logOnMessageFunction · 0.36