LoomRoomHost
constructor(loom: Loom, pattern: Pattern, clock: () -> Instant = { Clock.System.now() }, heartbeatConfig: HeartbeatConfig = HeartbeatConfig())
Parameters
loom
the Loom to host over.
pattern
the session Pattern (session name) to advertise.
clock
time source for partition detection; defaults to wall-clock kotlin.time.Clock.System. Inject a virtual clock in tests.
heartbeatConfig
partition-detection timing.