You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unify Window task sources and task cancellers API #21154
we should do something to avoid all of the duplication of calling foo_task_source and then getting a canceller where it's easy to end up with one for a different source. Possibly the foo_task_source APIs could return both a source and a canceller at the same time.
Note there are two current use-cases:
A script-thread task is enqueued 'directly from the main script-thread/event-loop', like in
Activity
gterzian commentedon Sep 21, 2018
@AgustinCB This one could be of interest to you as well, given your prior work with task-sources(or perhaps you'd rather do other things actually :) )
It's not completely clear what such "unified API" should look like, so this will require some initial exploration with the code...
AgustinCB commentedon Sep 21, 2018
Awesome! Will give it a try. Thanks for letting me know!
AgustinCB commentedon Sep 23, 2018
I'll have a PR for this tomorrow, hopefully.
Auto merge of #21804 - AgustinCB:unify-task-source-canceller-api, r=jdm
Auto merge of #21804 - AgustinCB:unify-task-source-canceller-api, r=<…
Auto merge of #21804 - AgustinCB:unify-task-source-canceller-api, r=<…
Auto merge of #21804 - AgustinCB:unify-task-source-canceller-api, r=g…