RunWithChannelFd

class RunWithChannelFd<R>(val fd: FileDescriptor, val block: (channel: Either<BadFileDescriptor, NioFileChannel>) -> Either<FileSystemOperationError, R>, val nonNioResourceFallback: () -> Either<FileSystemOperationError, R>)(source)

Constructors

Link copied to clipboard
constructor(fd: FileDescriptor, block: (channel: Either<BadFileDescriptor, NioFileChannel>) -> Either<FileSystemOperationError, R>, nonNioResourceFallback: () -> Either<FileSystemOperationError, R>)

Types

Properties

Link copied to clipboard
Link copied to clipboard