1 // Copyright 2014 The Chromium 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.
9 import 'core.dart' as core;
10 import 'dart-ext:src/mojo_dart_init';
12 void _init() native "MojoLibrary_Init";
13 void _mojoSystemThunksMake(Function fn) native "MojoSystemThunks_Make";
15 Future<Isolate> mojoInit() {
17 _mojoSystemThunksMake(core.mojoSystemThunksSet);
18 return core.MojoHandleWatcher.Start();