MemoryLinks

Links between sites of the same process, for tests and for sites sharing a machine without a network between them

Functions

Link copied to clipboard
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

Link copied to clipboard
fun delegate(site: Site, delegate: LinkListener, via: TaskQueue? = null)

A link between site and delegate, a delegate of it (see Site.delegate), as connect makes it