CloseOnce

constructor(label: String, onClose: () -> Unit)

Parameters

onClose

The function to invoke on the first call to close.