insert(_:position:)

Inserts playable music items into the playback queue.

Declaration

func insert<S, PlayableMusicItemType>(_ playableItems: S, position: MusicPlayer.Queue.EntryInsertionPosition) async throws where S : Sequence, PlayableMusicItemType : PlayableMusicItem, PlayableMusicItemType == S.Element