Interface Closer

An abstract interface which when implemented provides an interface to close files/resources that were previously opened.

interface Closer {
    close(): void;
}

Methods

Methods

  • Closes the resource, "freeing" the backing file/resource.

    Returns void