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 5part of zircon; 6 7// ignore_for_file: native_function_body_in_non_sdk_code 8// ignore_for_file: public_member_api_docs 9 10typedef AsyncWaitCallback = void Function(int status, int pending); 11 12@pragma('vm:entry-point') 13class HandleWaiter extends NativeFieldWrapperClass2 { 14 // Private constructor. 15 @pragma('vm:entry-point') 16 HandleWaiter._(); 17 18 void cancel() native 'HandleWaiter_Cancel'; 19} 20