Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.embedding.engine.dart.PlatformTaskQueue Class Reference
Inheritance diagram for io.flutter.embedding.engine.dart.PlatformTaskQueue:
io.flutter.embedding.engine.dart.DartMessenger.DartMessengerTaskQueue

Public Member Functions

void dispatch (@NonNull Runnable runnable)
 
void dispatch (@NonNull Runnable runnable)
 

Detailed Description

A BinaryMessenger.TaskQueue that posts to the platform thread (aka main thread).

Definition at line 13 of file PlatformTaskQueue.java.

Member Function Documentation

◆ dispatch()

void io.flutter.embedding.engine.dart.PlatformTaskQueue.dispatch ( @NonNull Runnable  runnable)
inline

Implements io.flutter.embedding.engine.dart.DartMessenger.DartMessengerTaskQueue.

Definition at line 19 of file PlatformTaskQueue.java.

19 {
20 handler.post(runnable);
21 }

The documentation for this class was generated from the following file: