Skip to content
Client
Server

Reference / @open-music-sdk/lib-playlists / tProgress

Interface: tProgress ​

Defined in: lib/lib-playlists/src/options.ts:6

How far a verb has got, counted in tracks.

Properties ​

done ​

ts
readonly done: number;

Defined in: lib/lib-playlists/src/options.ts:12

How many tracks are done with. For resolve, the descriptions settled, found or not, which one answer by ISRC can settle many of at once; for read, the tracks read, told a page at a time; for apply, the tracks added, told after each request.


total ​

ts
readonly total: number | undefined;

Defined in: lib/lib-playlists/src/options.ts:17

How many there are in all: the descriptions handed to resolve, or the tracks apply has to add. undefined for read, since Apple does not say how many tracks there are until the last page.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.