Anywhere

@Serializable
data object Anywhere : Affinity

The no-requirement default: every peer is eligible, so placement is over the whole roster — warp's pre-H8 behaviour, bit-for-bit. This is the TaskDescriptor.affinity default; a descriptor that never sets an affinity is byte-for-byte identical on the wire to a pre-H8 descriptor (CBOR omits a field at its default).

Functions

Link copied to clipboard
infix fun Affinity.and(other: Affinity): Affinity

Conjunction: a and b is satisfied when both this and other are.

Link copied to clipboard
open override fun matches(caps: CapSet): Boolean

Whether a peer advertising caps satisfies this predicate. Pure and deterministic.

Link copied to clipboard
infix fun Affinity.or(other: Affinity): Affinity

Disjunction: a or b is satisfied when either this or other is.