interface AsyncDirectoryEntries
source · line 9public
public interface AsyncDirectoryEntries : AsyncCloseable
- Supertype
AsyncCloseable - Inherited
suspend fun close(): Unit· AsyncCloseable
An owned asynchronous directory cursor. Close it even when iteration ends early.
function next
source · line 13public
public suspend fun next(): DirectoryEntry?
Returns the next directory entry, or None when the cursor is exhausted.