once

fun once(event: String, listener: Function<Unit>)(source)
fun once(event: ChildProcessEvent.CLOSE, listener: (code: Double?, signal: Signals?) -> Unit)(source)
fun once(event: ChildProcessEvent.DISCONNECT, listener: () -> Unit)(source)
fun once(event: ChildProcessEvent.ERROR, listener: (JsError) -> Unit)(source)
fun once(event: ChildProcessEvent.EXIT, listener: (code: Double?, signal: Signals?) -> Unit)(source)
fun once(event: ChildProcessEvent.SPAWN, listener: () -> Unit)(source)