Skip to main content

Module stream

Module stream 

Source
Expand description

The linear Source/Flow/Sink DSL and the runtime that materializes it — Datum’s primary public surface, mirroring Akka/Pekko Streams Typed.

This module root owns the shared vocabulary: the BoxStream/PureTransform/ RuntimeTransform type aliases, the SourceHints/FlowHints optimization-hint system, the fan-in stream combinators (merge_*/zip_*), the spin-then-park constants, and the re-export block. The public types live in the submodules (source, flow, sink, runtime, rate, time, restart, error, completion). See this directory’s AGENTS.md for the map and the crate CLAUDE.md for the blueprint-vs-materialization rule and execution model.

Structs§

AggregateTimer
BidiFlow
Cancellable
Demand
Flow
Keep
MaybeHandle
NotUsed
RestartFlow
Akka-style restarting flow wrapper.
RestartSettings
Backoff settings for RestartSource, RestartFlow, and RestartSink.
RestartSink
Akka-style restarting sink wrapper.
RestartSource
Akka-style restarting source wrapper.
RetryFlow
Akka-style RetryFlow.withBackoff helpers.
RunnableGraph
Runtime
Sink
Source
StreamCompletion
Supervision
Convenience constructors matching Akka’s built-in deciders.

Enums§

DelayOverflowStrategy
OverflowStrategy
SinkCombineStrategy
SourceCombineStrategy
StreamError
SupervisionDirective
Akka-style supervision directive for a failed user callback.
ThrottleMode

Traits§

IntoSource
Converts any IntoIterator into a Source explicitly.
PushOutlet

Type Aliases§

Materializer
StreamResult
SupervisionDecider
Shared supervision decider used by supervised operators.