Skip to content
Client
Server

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

Interface: tAskOptions ​

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

What every verb that asks Apple takes. An explicit undefined means the option was not given.

Extended by ​

Properties ​

onProgress? ​

ts
readonly optional onProgress?: (progress) => void;

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

Called each time more tracks are done with. What it throws stops the verb, and is what the verb rejects with.

Parameters ​

progress ​

tProgress

Returns ​

void


signal? ​

ts
readonly optional signal?: AbortSignal;

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

Aborts the verb: the request in flight, and any wait between requests. An abort is rethrown as it is.

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