steal() — tailwindcss Function Reference
Architecture documentation for the steal() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e6d77fec_d9c7_3ae5_a14b_1a8100aabf12["steal()"] 9ae56807_ba87_ca0e_44bd_2b03f50c02af["pop()"] 9ae56807_ba87_ca0e_44bd_2b03f50c02af -->|calls| e6d77fec_d9c7_3ae5_a14b_1a8100aabf12 style e6d77fec_d9c7_3ae5_a14b_1a8100aabf12 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 1560–1572
fn steal(&self) -> Option<Message> {
// For fairness, try to steal from index + 1, index + 2, ... len - 1,
// then wrap around to 0, 1, ... index - 1.
let (left, right) = self.stealers.split_at(self.index);
// Don't steal from ourselves
let right = &right[1..];
right
.iter()
.chain(left.iter())
.map(|s| s.steal_batch_and_pop(&self.deque))
.find_map(|s| s.success())
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does steal() do?
steal() is a function in the tailwindcss codebase.
What calls steal()?
steal() is called by 1 function(s): pop.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free