From a6d7e507e8950854d04f1ed7ef52e7f3d7ed63f4 Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Fri, 21 Jan 2022 00:58:38 +0800 Subject: [PATCH] Minor doc improvements to `BinaryMessenger` (flutter/engine#30923) Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com> --- .../android/io/flutter/plugin/common/BinaryMessenger.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java index 2466a01ade..eef8e047a0 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java @@ -71,8 +71,9 @@ public interface BinaryMessenger { /** * Creates a TaskQueue that executes the tasks serially on a background thread. * - *

There is no guarantee that the tasks will execute on the same thread, just that execution is - * serial. + *

{@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) {