once

fun once(handler: (T) -> Unit): Closeable