addClosable abstract method

void addClosable(
  1. SingleAutoClosable closable
)

Add SingleAutoClosable instance to that Closer to handle its destruction when onClose called

Implementation

void addClosable(SingleAutoClosable closable);