blob: 32fe4c4343c1f8ccd18887fc0188b9207c6553d3 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIB_TONIC_DART_MICROTASK_QUEUE_H_
#define LIB_TONIC_DART_MICROTASK_QUEUE_H_
#include "dart/runtime/include/dart_api.h"
namespace tonic {
class DartMicrotaskQueue {
public:
static void ScheduleMicrotask(Dart_Handle callback);
static void RunMicrotasks();
};
} // namespace tonic
#endif // LIB_TONIC_DART_MICROTASK_QUEUE_H_