MCPcopy Create free account
hub / github.com/deanrad/rxfx / nextViaMapper

Function nextViaMapper

operators/src/queueOnlyLatest.ts:31–34  ·  view source on GitHub ↗
([result, trigger]: [R, T])

Source from the content-addressed store, hash-verified

29 // each new concurrent request overwrites this
30 let nextWork: Observable<R> | null;
31 const nextViaMapper = ([result, trigger]: [R, T]) => {
32 const _result = (mapper ? mapper(trigger, result) : result) as S;
33 notify.next(_result);
34 };
35
36 let workObserver: PartialObserver<[R, T]> = {
37 complete() {

Callers

nothing calls this directly

Calls 2

mapperFunction · 0.85
nextMethod · 0.80

Tested by

no test coverage detected