> For the complete documentation index, see [llms.txt](https://www.rxjs.es/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.rxjs.es/api/indice/subscribable.md).

# Subscribable

## Interfaces de Observable

```typescript
interface Subscribable<T> {
  subscribe(observer?: PartialObserver<T>): Unsubscribable;
}
```

## Implementaciones de Clase

* [Observable](https://github.com/puntotech/rxjs-docu/blob/master/api/index/Observable/README.md)
* [ConnectableObservable](https://github.com/puntotech/rxjs-docu/blob/master/api/index/ConnectableObservable/README.md)
* [GroupedObservable](https://github.com/puntotech/rxjs-docu/blob/master/api/index/GroupedObservable/README.md)
* * [Subject](https://github.com/puntotech/rxjs-docu/blob/master/api/subjects/Subject/README.md)
  * [BehaviorSubject](https://github.com/puntotech/rxjs-docu/blob/master/api/subjects/BehaviorSubject/README.md)
  * [ReplaySubject](https://github.com/puntotech/rxjs-docu/blob/master/api/subjects/ReplaySubject/README.md)
  * [AsyncSubject](https://github.com/puntotech/rxjs-docu/blob/master/api/subjects/AsyncSubject/README.md)

## Métodos

| subscribe()                      |                                                                              |
| -------------------------------- | ---------------------------------------------------------------------------- |
| 6b63cee3a6194be4a013b9934b5b2b36 |                                                                              |
| next                             | Tipo: `null`.                                                                |
| error                            | Tipo: `null`.                                                                |
| complete                         | Tipo: `() => void`.                                                          |
| next                             | Tipo: `null`.                                                                |
| error                            | Tipo: `(error: any) => void`.                                                |
| complete                         | Opcional. El valor por defecto es `undefined`. Tipo: `() => void`.           |
| next                             | Tipo: `(value: T) => void`.                                                  |
| error                            | Tipo: `null`.                                                                |
| complete                         | Tipo: `() => void`.                                                          |
| next                             | Opcional. El valor por defecto es `undefined`. Tipo: `(value: T) => void`.   |
| error                            | Opcional. El valor por defecto es `undefined`. Tipo: `(error: any) => void`. |
| complete                         | Opcional. El valor por defecto es `undefined`. Tipo: `() => void`.           |

## Recursos adicionales

[![Source code](https://github.com/puntotech/rxjs-docu/blob/master/doc/api/index/assets/icons/source-code.png)](https://github.com/ReactiveX/rxjs/blob/6.5.5/src/internal/types.ts#L38-L50)

[Documentación oficial en inglés](https://rxjs.dev/api/index/interface/Subscribable)
