> 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/subscriptionlike.md).

# SubscriptionLike

```typescript
interface SubscriptionLike extends Unsubscribable {
get closed: boolean
unsubscribe(): void

// Heredado de index/Unsubscribable
unsubscribe(): void
}
```

## Implementación de Clases

* [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)
* [Subscription](https://github.com/puntotech/rxjs-docu/blob/master/api/index/Subscription/README.md)
* * [Subscriber](https://github.com/puntotech/rxjs-docu/blob/master/api/index/Subscriber/README.md)

## Propiedades

| Propiedad | Tipo      | Descripción |
| --------- | --------- | ----------- |
| closed    | `boolean` | Read-only.  |

## Métodos

| unsubscribe()                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------- |
| <h4>Firma</h4><p><code>unsubscribe(): void</code></p><h4>Parámetros</h4><p>No recibe ningún parámetro.</p><h4>Retorna</h4><p>void</p> |

## 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#L31-L35)

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