Interface Closeable<ArgT>

Indicates that the implementer provides a public close function.

interface Closeable<ArgT> {
    close: ((data?) => Promise<CloseableOutcome>);
}

Type Parameters

  • ArgT

Properties

Properties

close: ((data?) => Promise<CloseableOutcome>)

Close function. Specific purpose and functionality is determined by implementer. This interface serves as a contract to guarantee close can be called.

Type declaration