FaultyLoom
A Loom wrapper that constructs FaultySeam instances.
A defaultProfile applies to every link the factory creates. Individual links can override their profile via FaultySeam.setFaultProfile.
Useful for fault scenarios where all links should start partitioned or delayed, then selectively healed per-peer.
scope must be a CoroutineScope that outlives the test — the standard pattern is to pass the kotlinx.coroutines.test.TestScope from runTest.
Constructors
Properties
All FaultySeam instances created so far, in creation order.
Functions
Whether this fabric can be attempted now. Default FabricAvailability.Available; fabrics gated on a runtime capability override.
Host / start a new session.
Join an existing session. The advertisement carries enough info to reach the existing peer set.
Apply profile to every link the factory has created so far.
Establish a Seam according to rendezvous — either host a new session or join an existing one.