Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/shared/src/main/scala/fs2/Task.scala
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ object Task extends TaskPlatform with TaskInstances {
ref[A].flatMap { ref => ref.set(t) map (_ => ref.get) }

/**
* Like [[async]], but run the callback in the same thread in the same
* thread, rather than evaluating the callback using a `Strategy`.
* Like [[async]], but run the callback in the same thread, rather than
* evaluating the callback using a `Strategy`.
*/
def unforkedAsync[A](register: (Attempt[A] => Unit) => Unit): Task[A] =
async(register)(Strategy.sequential)
Expand Down