MCPcopy Index your code
hub / github.com/rx-angular/rx-angular / render

Method render

libs/template/push/src/lib/push.pipe.ts:222–240  ·  view source on GitHub ↗

@internal

(scope: object)

Source from the content-addressed store, hash-verified

220
221 /** @internal */
222 private render<T>(scope: object): OperatorFunction<RxNotification<T>, T> {
223 return (o$) =>
224 o$.pipe(
225 withLatestFrom(this.strategyHandler.strategy$),
226 switchMap(([notification, strategy]) =>
227 this.strategyProvider.schedule(
228 () => {
229 strategy.work(this.cdRef, scope);
230 return notification.value;
231 },
232 {
233 scope,
234 strategy: strategy.name,
235 patchZone: this.patchZone,
236 }
237 )
238 )
239 );
240 }
241
242 /** @internal */
243 private hasInitialValue(value$: Observable<unknown>): Observable<boolean> {

Callers 1

handleChangeDetectionMethod · 0.95

Calls 2

workMethod · 0.80
scheduleMethod · 0.65

Tested by

no test coverage detected