Files
YouTube.js/docs/api/namespaces/YTMusic/classes/LibraryContinuation.md
Luan 25d0876b91 refactor(Player)!: Use AST-based JS extraction with side-effect safe code emission (#1052)
* chore(deps): Add `meriyah`

* feat(utils): Implement AST-based JS extractors

* chore(utils): Remove old ast walker code

* fix(Player): Migrate js extraction logic

* chore(JsExtractor): Fix typo in tsdoc

* perf(JsAnalyzer): Simplify main AST analysis logic

* fix(JsAnalyzer): Change `break` to `return` in AST matching logic

* chore: Update docs

* chore: Don't export `PlayerInitializationOptions`

* chore(evaluate): Update error message to include doc link

* perf: Use a `for-loop` to find iife
2025-10-12 09:08:51 -03:00

76 lines
2.0 KiB
Markdown

[youtubei.js](../../../README.md) / [YTMusic](../README.md) / LibraryContinuation
# Class: LibraryContinuation
## Constructors
### new LibraryContinuation()
> **new LibraryContinuation**(`response`, `actions`): [`LibraryContinuation`](LibraryContinuation.md)
#### Parameters
**response**: [`ApiResponse`](../../../interfaces/ApiResponse.md)
**actions**: [`Actions`](../../../classes/Actions.md)
#### Returns
[`LibraryContinuation`](LibraryContinuation.md)
#### Defined in
[src/parser/ytmusic/Library.ts:158](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/ytmusic/Library.ts#L158)
## Properties
### contents
> **contents**: [`MusicShelfContinuation`](../../../classes/MusicShelfContinuation.md) \| [`GridContinuation`](../../../classes/GridContinuation.md)
#### Defined in
[src/parser/ytmusic/Library.ts:156](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/ytmusic/Library.ts#L156)
## Accessors
### has\_continuation
> `get` **has\_continuation**(): `boolean`
#### Returns
`boolean`
#### Defined in
[src/parser/ytmusic/Library.ts:182](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/ytmusic/Library.ts#L182)
***
### page
> `get` **page**(): [`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
#### Returns
[`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
#### Defined in
[src/parser/ytmusic/Library.ts:186](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/ytmusic/Library.ts#L186)
## Methods
### getContinuation()
> **getContinuation**(): `Promise`\<[`LibraryContinuation`](LibraryContinuation.md)\>
#### Returns
`Promise`\<[`LibraryContinuation`](LibraryContinuation.md)\>
#### Defined in
[src/parser/ytmusic/Library.ts:170](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/ytmusic/Library.ts#L170)