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

Function executor

effect/src/createEffect.ts:179–187  ·  view source on GitHub ↗
(req: Request)

Source from the content-addressed store, hash-verified

177 switchMap((status) => (status ? of(status) : Promise.resolve(status))),
178 distinctUntilChanged()
179 )
180 .subscribe(isActive);
181 mainSub.add(activitySub);
182
183 // Allows global shutdown
184 const shutdownSub = allShutdowns.subscribe(() => {
185 shutdownSelf();
186 });
187
188 function shutdownSelf() {
189 currentCancel.next(); // terminate us
190 batch.next(); // terminate current batch

Callers 2

requestFunction · 0.85
sendFunction · 0.85

Calls 2

nextMethod · 0.80
completeMethod · 0.80

Tested by

no test coverage detected