Reference / @open-music-sdk/lib-playlists / tSettleOptions
Interface: tSettleOptions
Defined in: lib/lib-playlists/src/apply.ts:21
How long a write is given to show in a read. Apple takes a write in and carries it out afterwards, so a read made at once may not show it. The defaults come from one run against the live API, on 18 October 2026: a new playlist could be read by its id at once and was among the listener's playlists after 4 seconds, and 300 tracks added to it showed after 2. Ten reads a second apart leave room for a slower day than that one.
Properties
tries?
readonly optional tries?: number;Defined in: lib/lib-playlists/src/apply.ts:23
How many times the playlist is read before what was written is taken not to show: a whole number from 1. Default 10.
waitMs?
readonly optional waitMs?: number;Defined in: lib/lib-playlists/src/apply.ts:25
How long to wait between one such read and the next, in milliseconds. Default 1000.