Skip to content

Allow tap operator after takeUntil #55

@willium

Description

@willium

Give that tap's contract is that it can perform side effects but returns an identical Observable, is it not safe to follow a takeUntil with a tap (and thus allow it here)

e.g.

const stream$ = of().pipe(
    ...
    takeUntil(unsubscribe$),
    tap((datasets) => { setSomeState(true) })
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions