If you don't accept a queue, devs will usually just dispatch to that queue in the callback anyway. Same problems, right?
Conversation
No, actually. Worried about composition wrt target queues, APIs which mutate queues, and resilience against future concurrent APIs.
2
This Tweet is unavailable. Learn more
I can understand deadlock if the API runs the callback synchronously. Is there still a problem if it's async?
1
Only if you have to guarantee that no callbacks will received after cancellation, right?
1
Not sure I understand. Isn't it enough to live as long as the callback wants to use it? Can block capture solve this?
1
Replying to

