Rxjs: Should the race operator be deprecated?

Created on 26 Apr 2018  路  3Comments  路  Source: ReactiveX/rxjs

RxJS version: 6.0.0

Code to reproduce:

const winner = of(1).pipe(race(of(2)));

Expected behavior:

I expected a TSLint deprecation warning, as the race operator has a namesake observable factory function.

Actual behavior:

No warning is effected.

Additional information:

The other operators that have namesake observable factory functions (concat, merge, etc.) are deprecated, but race is not.

Help Wanted

Most helpful comment

I'll work on a PR for this!

All 3 comments

Yes. It should be deprecated. Thanks for catching that.

I'll work on a PR for this!

Closed by #3611.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

unao picture unao  路  4Comments

giovannicandido picture giovannicandido  路  4Comments

haf picture haf  路  3Comments

OliverJAsh picture OliverJAsh  路  3Comments

cartant picture cartant  路  3Comments