Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
post_task_sync.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_TESTING_POST_TASK_SYNC_H_
6#define FLUTTER_TESTING_POST_TASK_SYNC_H_
7
8#include "flutter/fml/task_runner.h"
9
10namespace flutter {
11namespace testing {
12
13void PostTaskSync(const fml::RefPtr<fml::TaskRunner>& task_runner,
14 const std::function<void()>& function);
15
16} // namespace testing
17} // namespace flutter
18
19#endif // FLUTTER_TESTING_POST_TASK_SYNC_H_
Dart_NativeFunction function
Definition fuchsia.cc:51
void PostTaskSync(const fml::RefPtr< fml::TaskRunner > &task_runner, const std::function< void()> &function)