connect

fun connect(first: LinkListener, second: LinkListener, via: TaskQueue? = null)

A link between first and second, each told of its end: the frames are delivered by via if given, on the thread of the sender otherwise