ReactiveX/rxjs

WebSocketSubject may have different input and output types.

Open

#5.381 aberto em 6 de abr. de 2020

Ver no GitHub
 (2 comments) (2 reactions) (0 assignees)TypeScript (3.007 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (31.024 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Just what the title says... The AnonymousSubject (aka "frankensubject") probably also needs some typings love.

Basically, a nicer interface would be:

class WebSocketSubject<In, Out> extends Observable<Out> implements Observer<In> {
  // ...stuff
}

Guia do colaborador