FlakyLifecycleLoom

class FlakyLifecycleLoom(delegate: Loom, scope: CoroutineScope) : Loom

A Loom wrapper that produces FlakyLifecycleSeam instances.

Exposes created seams via links (in creation order) so scenario tests can drive specific links' lifecycles — mirroring FaultyLoom.

Constructors

Link copied to clipboard
constructor(delegate: Loom, scope: CoroutineScope)

Properties

Link copied to clipboard

All FlakyLifecycleSeam instances created by this factory, in creation order.

Functions

Link copied to clipboard

Whether this fabric can be attempted now. Default FabricAvailability.Available; fabrics gated on a runtime capability override.

Link copied to clipboard
open suspend override fun host(pattern: Pattern): FlakyLifecycleSeam

Host / start a new session.

Link copied to clipboard
open suspend override fun join(tag: Tag): FlakyLifecycleSeam

Join an existing session. The advertisement carries enough info to reach the existing peer set.

Link copied to clipboard
open suspend override fun weave(rendezvous: Rendezvous): FlakyLifecycleSeam

Establish a Seam according to rendezvous — either host a new session or join an existing one.