Sequence Fit

std/flow/void::Fit


Inputs

size: Stream<u64>

Outputs

↦ pattern: Stream<Vec<void>>


Creates stream of vectors based on requested sizes.

For each size received, a vector with the same number of values is sent through pattern.

graph LR
    T("Fit()")
    V["… 2️⃣ 1️⃣ 3️⃣ …"] -->|size| T
    
    T -->|pattern| P["…[🟦 🟦][🟦][🟦 🟦 🟦]…"]

    style V fill:#ffff,stroke:#ffff
    style P fill:#ffff,stroke:#ffff