blob: 85c7bfd383dfd5203a4e25178232e4a68a8f03a2 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Async iterator returned by FileSystemDirectoryHandle.getEntries().
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://www.ecma-international.org/ecma-262/9.0/index.html#sec-asynciterator-interface
[
NoInterfaceObject,
RuntimeEnabled=WritableFiles
] interface FileSystemDirectoryIterator {
[CallWith=ScriptState] Promise<any> next();
[ImplementedAs=IteratorReturn] void return();
};