rryam / MusadoraKit

The ultimate companion to MusicKit.
http://exploringmusickit.com
MIT License
344 stars 22 forks source link

Ask for user permissions on interaction with any async api #31

Closed ericlewis closed 1 year ago

ericlewis commented 1 year ago

Is your feature request related to a problem? Please describe. Asking for permission is a separate issue (which is also not documented here)

Describe the solution you'd like Ideally, any request to an async / await API could block and then perform authorization tasks for the developer.

Describe alternatives you've considered None really, mostly just an idea.

Additional context I think there is a few Apple APIs which take this approach now.

rudrankriyam commented 1 year ago

I need to think if this should be handled on the client side or the package side. For now, I will mark it as not planned. Thanks!!