Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

takeUtil not work in network TIMEOUT workflow #341

Open
mydearxym opened this issue Jan 20, 2019 · 0 comments
Open

takeUtil not work in network TIMEOUT workflow #341

mydearxym opened this issue Jan 20, 2019 · 0 comments

Comments

@mydearxym
Copy link
Member

when this.stop$ been called, the takeUtil operator not cancel the ajax request as expected.

see details in source file

    this.mutate$ = this.mutateInput$.pipe(
      debounce(() => timer(300)),
      switchMap(q =>
        mutatePromise(q).pipe(
          timeoutWith(TIMEOUT_THRESHOLD, TimoutObservable),
          takeUntil(this.stop$)
        )
      )
    )
@mydearxym mydearxym self-assigned this Jan 20, 2019
@mydearxym mydearxym changed the title takeUtil not work in rxjs network workflow takeUtil not work in network TIMEOUT workflow Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant