LoomDefaults

The default values a Loom factory hands to the knobs that every fabric shares.

A fabric factory's universal parameters — selfId, policy, weaveTimeout — should default to the same thing whichever fabric you reach for, so that moving a consumer from one transport to another changes the transport and nothing else. This object is where those shared defaults live; selfId's counterpart is freshPeerId.

Only knobs a fabric can genuinely honour belong on its factory. A fabric with no weave-timeout wiring takes no weaveTimeout parameter rather than accepting one and ignoring it — a silently-dropped argument is worse than an absent one.

Properties

Link copied to clipboard

How long a weave waits to reach its first peer before giving up.