Skip to content

Export all core APIs from rxjs module directly. #6242

Closed
@benlesh

Description

Given the issue #6067 seems to be fairly difficult to solve, and given that we have renamed everything such that there are no conflicts between things like concat the creation function, and concat the operator, etc. Maybe it's time we talk about exporting all primary APIs from rxjs proper.

  1. It's a non-breaking change.
  2. It's the direction we've all discussed going many times.
  3. It's easier to deal with, overall.

I'm talking about:

import { of, interval, take, concatWith, map } from 'rxjs';

interval(1000).pipe(
  take(3),
  concatWith(of('done')),
  map(x => `Tick: ${x}`)
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    7.xIssues and PRs for version 7.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions