Skip to main content

worker_caps_key

Function worker_caps_key 

Source
pub fn worker_caps_key(wid: &WorkerInstanceId) -> String
Expand description

Non-authoritative capability advertisement STRING for a worker (sorted CSV). Written by ff-sdk::FlowFabricWorker::connect, read by the engine’s unblock scanner to decide whether a blocked_by_route execution has a matching worker. Cluster mode: the key lands on whatever slot CRC16 hashes to — enumeration goes through workers_index_key() rather than a keyspace SCAN, which would only hit one shard in cluster mode.