All Downloads are FREE. Search and download functionalities are using the official Maven repository.

urwerk.source.reactor.FluxConverters.scala Maven / Gradle / Ivy

The newest version!
package urwerk.source.reactor

import reactor.adapter.JdkFlowAdapter
import reactor.core.publisher.Flux
import urwerk.source.Source

import java.util.concurrent.Flow
import urwerk.source.internal.FluxSource

object FluxConverters:
  extension [A](source: Source[A])
    def toFlux: Flux[A] =
      JdkFlowAdapter.flowPublisherToFlux(
        source.toPublisher)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy