Initializerswift-nio 2.72.0_NIOFileSystem
init(wrapping:)
Creates a DirectoryEntries
sequence by wrapping an AsyncSequence
of batches of directory entries.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
init<S>(wrapping sequence: S) where S : AsyncSequence, S.Element == [DirectoryEntry]
Other members in extension
Types
struct Batched
An
AsyncSequence
of batches of directory entries.struct DirectoryIterator
An
AsyncIteratorProtocol
ofDirectoryEntry
.
Typealiases
Instance members
func batched(
) -> Batched Returns a sequence of directory entry batches.
func makeAsyncIterator(
) -> DirectoryIterator