=str Mark LazyFutureSource final.
Signed-off-by: He-Pin <hepin1989@gmail.com>
This commit is contained in:
parent
580f12c29f
commit
fc26f57c09
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ import pekko.stream.stage.GraphStage
|
|||
import pekko.stream.stage.GraphStageLogic
|
||||
import pekko.stream.stage.OutHandler
|
||||
|
||||
private[pekko] class LazyFutureSource[T](f: () => Future[T]) extends GraphStage[SourceShape[T]] {
|
||||
private[pekko] final class LazyFutureSource[T](f: () => Future[T]) extends GraphStage[SourceShape[T]] {
|
||||
require(f != null, "f should not be null.")
|
||||
private val out = Outlet[T]("LazyFutureSource.out")
|
||||
val shape: SourceShape[T] = SourceShape(out)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue