Interface FileSystemDirectoryHandleAsyncIterator<T>
interface FileSystemDirectoryHandleAsyncIterator<T> {
[asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
next(...__namedParameters: [] | [unknown]): Promise<IteratorResult<T, any>>;
return?(value?: any): Promise<IteratorResult<T, any>>;
throw?(e?: any): Promise<IteratorResult<T, any>>;
}
[asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
next(...__namedParameters: [] | [unknown]): Promise<IteratorResult<T, any>>;
return?(value?: any): Promise<IteratorResult<T, any>>;
throw?(e?: any): Promise<IteratorResult<T, any>>;
}
Type Parameters
Hierarchy
- AsyncIteratorObject<T, BuiltinIteratorReturn, unknown>
- FileSystemDirectoryHandleAsyncIterator ()
Index
Methods
Methods
[asyncIterator]
- [async
Iterator] (): FileSystemDirectoryHandleAsyncIterator<T> Returns FileSystemDirectoryHandleAsyncIterator<T>
next
- next(...__namedParameters): Promise<IteratorResult<T, any>>
Parameters
Rest
...__namedParameters: [] | [unknown]
Returns Promise<IteratorResult<T, any>>
Optional
return
- return(value?): Promise<IteratorResult<T, any>>
Parameters
Optional
value: any
Returns Promise<IteratorResult<T, any>>
Optional
throw
- throw(e?): Promise<IteratorResult<T, any>>
Parameters
Optional
e: any
Returns Promise<IteratorResult<T, any>>