Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterFMLTaskRunner.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_FLUTTERFMLTASKRUNNER_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFMLTASKRUNNER_H_
7
8#import <Foundation/Foundation.h>
9
10NS_SWIFT_NAME(TaskRunner)
11@interface FlutterFMLTaskRunner : NSObject
12
13- (void)postTask:(void (^)(void))task;
14- (void)runNowOrPostTask:(void (^)(void))task;
15- (void)postTaskWithDelay:(NSTimeInterval)delay
16 task:(void (^)(void))task NS_SWIFT_NAME(postTask(delay:task:));
17
19
20@end
21
22#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFMLTASKRUNNER_H_
int BOOL