connect

suspend fun connect(loom: Loom): Seam

Weave a new Seam against the currentEndpoint using loom.

The endpoint index is read under the lock, then Loom.join is called outside the lock (suspend is never held under a locked region).

Return

the new Seam connected to currentEndpoint.