Skip to content

Instantly share code, notes, and snippets.

Created April 18, 2017 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/552b0e57175a29108f26ee800acc5b95 to your computer and use it in GitHub Desktop.
Save anonymous/552b0e57175a29108f26ee800acc5b95 to your computer and use it in GitHub Desktop.
the description for this gist
val transportInProbe = TestSubscriber.probe[ByteString]()
val transportOutProbe = TestPublisher.probe[ByteString
val transportFlow = Flow.fromSinkAndSource(
Sink.fromSubscriber(transportInProbe),
Source.fromPublisher(transportOutProbe))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment