public final class MaybeSource<Out> extends SourceModule<Out,scala.concurrent.Promise<scala.Option<Out>>>
Constructor and Description |
---|
MaybeSource(Attributes attributes,
SourceShape<Out> shape) |
Modifier and Type | Method and Description |
---|---|
Attributes |
attributes() |
scala.Tuple2<MaybePublisher<Out>,scala.concurrent.Promise<scala.Option<Out>>> |
create(MaterializationContext context) |
protected SourceModule<Out,scala.concurrent.Promise<scala.Option<Out>>> |
newInstance(SourceShape<Out> shape) |
StreamLayout.AtomicModule |
withAttributes(Attributes attr) |
amendShape, carbonCopy, label, replaceShape, shape, toString
downstreams, inPorts, outPorts, subModules, upstreams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isFused, isRunnable, isSealed, isSink, isSource, materializedValueComputation, transformMaterializedValue, wire
public MaybeSource(Attributes attributes, SourceShape<Out> shape)
public Attributes attributes()
public scala.Tuple2<MaybePublisher<Out>,scala.concurrent.Promise<scala.Option<Out>>> create(MaterializationContext context)
protected SourceModule<Out,scala.concurrent.Promise<scala.Option<Out>>> newInstance(SourceShape<Out> shape)
newInstance
in class SourceModule<Out,scala.concurrent.Promise<scala.Option<Out>>>
public StreamLayout.AtomicModule withAttributes(Attributes attr)