Flutter Engine
The Flutter Engine
flutter_task_queue_dispatch.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FLUTTER_TASK_QUEUE_DISPATCH_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FLUTTER_TASK_QUEUE_DISPATCH_H_
7
8#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h"
9
10/// The private implementation of `FlutterTaskQueue` that has method
11/// declarations.
12///
13/// `FlutterTaskQueue` doesn't have any methods publicly since it is supposed to
14/// be an opaque data structure. For Swift integration though `FlutterTaskQueue`
15/// is visible publicly with no methods.
17- (void)dispatch:(dispatch_block_t)block;
18@end
19
20#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FLUTTER_TASK_QUEUE_DISPATCH_H_