Treatment flock

std/flow::flock


Generics

◻ T (any)

Inputs

⇥ a: Block<T>
⇥ b: Block<T>

Outputs

↦ stream: Stream<T>


Merge two incoming blocks as a stream.

Each block is taken when it arrives and send through stream.

ℹ️ No priority on blocks order in stream can be assumed.

graph LR
     T("flock()")
     A["〈🟦〉"] -->|a| T
     B["〈🟧〉"] -->|b| T
     

     T -->|stream| V["🟧 🟦"]

     style V fill:#ffff,stroke:#ffff
     style A fill:#ffff,stroke:#ffff
     style B fill:#ffff,stroke:#ffff