AutoClosable
interface in package klyn

    public interface AutoClosable:

AutoClosable

Resource contract for objects that must be closed after use.

    import klyn.io

    try reader = FileReader("README.md"):
    print(reader.readAllText())

Methods

Modifier and Type | Member | Description
--- | --- | ---
public abstract | close `close() as Void` | Closes the resource and releases its underlying system state.