We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566005a commit 81bee4eCopy full SHA for 81bee4e
modules/core/src/main/scala/fs2/kafka/internal/Blocking.scala
@@ -20,7 +20,7 @@ private[kafka] trait Blocking[F[_]] {
20
private[kafka] object Blocking {
21
22
def fromSync[F[_]: Sync]: Blocking[F] = new Blocking[F] {
23
- override def apply[A](a: => A): F[A] = Sync[F].interruptible(a)
+ override def apply[A](a: => A): F[A] = Sync[F].blocking(a)
24
}
25
26
def fromExecutionContext[F[_]](ec: ExecutionContext)(implicit F: Async[F]): Blocking[F] =
0 commit comments