Minor doc improvements to BinaryMessenger (flutter/engine#30923)

Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com>
This commit is contained in:
Jia Hao
2022-01-21 00:58:38 +08:00
committed by GitHub
parent 6ad79f3d42
commit a6d7e507e8

View File

@@ -71,8 +71,9 @@ public interface BinaryMessenger {
/**
* Creates a TaskQueue that executes the tasks serially on a background thread.
*
* <p>There is no guarantee that the tasks will execute on the same thread, just that execution is
* serial.
* <p>{@link TaskQueueOptions} can be used to configure the task queue to execute tasks
* concurrently. Doing so can be more performant, though users need to ensure that the task
* handlers are thread-safe.
*/
@UiThread
default TaskQueue makeBackgroundTaskQueue(TaskQueueOptions options) {