• Kirk Shoop's avatar
    Add folly::coro::materialize() & folly::coro::dematerialize() algorithms · 37a33e67
    Kirk Shoop authored
    Summary:
    The `materialize()` algorithm meterializes values from a stream into a stream of events that represent each value and also the end-of-stream and stream-error events.
    
    `dematerialize()` reverses a materialized stream by replaying the events recorded in the input stream to an output stream.
    
    Reviewed By: lewissbaker
    
    Differential Revision: D16772236
    
    fbshipit-source-id: 27de543ea2d02691a376fd0f11d0113c5c39287d
    37a33e67
Dematerialize.h 1.78 KB