PSA: webrtc::TaskQueueBase interface is changing

22 views
Skip to first unread message

Danil Chapovalov

unread,
Jul 25, 2022, 4:19:46 AMJul 25
to discuss-webrtc
If you are inserting custom TaskQueueFactory, and create custom TaskQueueBase implementation, please update it.

Related tracking issue: http://bugs.webrtc.org/14245

Tasks posted to the TaskQueue are no longer represented as std::unique_ptr<webrtc::QueuedTask>,
instead they are now represented as absl::AnyInvocable<void() &&>

Example how that changes implementation:

In two weeks I will submit something like
and old implementations would stop compile.
Reply all
Reply to author
Forward
0 new messages