Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterFMLTaskRunnerTestHelper.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_FRAMEWORK_SOURCE_FLUTTERFMLTASKRUNNERTESTHELPER_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFMLTASKRUNNERTESTHELPER_H_
7
8#import <Foundation/Foundation.h>
9
12
14
15NS_SWIFT_NAME(TaskRunnerTestHelper)
16@interface FlutterFMLTaskRunnerTestHelper : NSObject
17
18/**
19 * Returns a FlutterFMLTaskRunner for the current thread.
20 */
22
23/**
24 * Returns a FlutterFMLTaskRunner running on a new background thread with the given label.
25 */
26+ (FlutterFMLTaskRunner*)makeTaskRunnerWithLabel:(NSString*)label;
27
28/**
29 * Returns a FlutterFMLTaskRunners object where all runners point to the same task runner.
30 */
31+ (FlutterFMLTaskRunners*)makeTaskRunnersWithLabel:(NSString*)label
32 taskRunner:(FlutterFMLTaskRunner*)taskRunner;
33
34@end
35
37
38#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFMLTASKRUNNERTESTHELPER_H_
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END