public interface DemandAware
A demand-aware component is aware of its demand for data that is read from the DemandAware.Source
and possibly awaits processing.
A DemandAware.Sink
with demand is ready to process data. A DemandAware.Sink
without demand signals that it's ability to keep up with
the incoming data is no longer given and it wishes to receive no more data. Submitting more data could cause overload and
exhaust buffer space.
Modifier and Type | Interface and Description |
---|---|
static interface |
DemandAware.Sink
A demand-aware
DemandAware.Sink that accepts data. |
static interface |
DemandAware.Source
A
DemandAware.Source provides data to a DemandAware and can be notified to produce more input for the command. |
Copyright © 2021 lettuce.io. All rights reserved.