• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_FUCHSIA_TASK_OBSERVERS_H_
6 #define FLUTTER_SHELL_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
7 
8 #include <lib/fit/function.h>
9 
10 namespace flutter_runner {
11 
12 void ExecuteAfterTaskObservers();
13 
14 void CurrentMessageLoopAddAfterTaskObserver(intptr_t key,
15                                             fit::closure observer);
16 
17 void CurrentMessageLoopRemoveAfterTaskObserver(intptr_t key);
18 
19 }  // namespace flutter_runner
20 
21 #endif  // FLUTTER_SHELL_PLATFORM_FUCHSIA_TASK_OBSERVERS_H_
22