Skip to content

Commit 8ea2ce5

Browse files
committed
deploy: ad25f4f
1 parent 6826cec commit 8ea2ce5

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

guide.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,10 @@ val program =
718718
// program: Stream[[x]IO[x], Unit] = Stream(..)
719719

720720
program.compile.drain.unsafeRunSync()
721-
// 13:29:00.080601479
722-
// 13:29:01.080534675
723-
// 13:29:02.080605881
724-
// 13:29:03.080531435
721+
// 13:43:10.243170505
722+
// 13:43:11.243173808
723+
// 13:43:12.243208496
724+
// 13:43:13.243190252
725725
```
726726

727727
Let's take this line by line now, so we can understand what's going on.
@@ -763,10 +763,10 @@ val program1 =
763763
// program1: Stream[[x]IO[x], Unit] = Stream(..)
764764

765765
program1.compile.drain.unsafeRunSync()
766-
// 13:29:05.082964565
767-
// 13:29:06.082889528
768-
// 13:29:07.083002508
769-
// 13:29:08.082870103
766+
// 13:43:15.245800863
767+
// 13:43:16.245777276
768+
// 13:43:17.245785493
769+
// 13:43:18.245861371
770770
```
771771

772772
### Talking to the external world
@@ -799,7 +799,7 @@ The way you bring synchronous effects into your effect type may differ. `Sync.de
799799
import cats.effect.Sync
800800

801801
val T = Sync[IO]
802-
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@32d18a69
802+
// T: cats.effect.kernel.Async[IO] = cats.effect.IO$$anon$5@6f8180ae
803803
val s2 = Stream.exec(T.delay { destroyUniverse() }) ++ Stream("...moving on")
804804
// s2: Stream[[x]IO[x], String] = Stream(..)
805805
s2.compile.toVector.unsafeRunSync()
@@ -933,15 +933,15 @@ stream.toUnicastPublisher
933933
// source = Bind(
934934
// source = Eval(
935935
// fa = Delay(
936-
// thunk = cats.effect.IO$$$Lambda$11292/0x00007f30e3ece0a0@7ef108d8,
936+
// thunk = cats.effect.IO$$$Lambda$12038/0x00007f26dc036ca0@50ae6fd7,
937937
// event = cats.effect.tracing.TracingEvent$StackTrace
938938
// )
939939
// ),
940-
// fs = cats.effect.std.Supervisor$$$Lambda$12189/0x00007f30e40cc000@13e9a405
940+
// fs = cats.effect.std.Supervisor$$$Lambda$12934/0x00007f26dc237308@aba2604
941941
// ),
942-
// fs = cats.effect.std.Dispatcher$$$Lambda$12190/0x00007f30e40cc3d0@144fea92
942+
// fs = cats.effect.std.Dispatcher$$$Lambda$12935/0x00007f26dc2376d8@541d9690
943943
// ),
944-
// fs = cats.effect.kernel.Resource$$Lambda$12135/0x00007f30e40b0e60@74582ffb
944+
// fs = cats.effect.kernel.Resource$$Lambda$12880/0x00007f26dc21af70@4bc4b516
945945
// )
946946
```
947947

@@ -954,25 +954,25 @@ val publisher: Resource[IO, StreamUnicastPublisher[IO, Int]] = Stream(1, 2, 3).c
954954
// source = Bind(
955955
// source = Eval(
956956
// fa = Delay(
957-
// thunk = cats.effect.IO$$$Lambda$11292/0x00007f30e3ece0a0@2195e60,
957+
// thunk = cats.effect.IO$$$Lambda$12038/0x00007f26dc036ca0@68b7ab6e,
958958
// event = cats.effect.tracing.TracingEvent$StackTrace
959959
// )
960960
// ),
961-
// fs = cats.effect.std.Supervisor$$$Lambda$12189/0x00007f30e40cc000@5c8e0baa
961+
// fs = cats.effect.std.Supervisor$$$Lambda$12934/0x00007f26dc237308@33e62a7a
962962
// ),
963-
// fs = cats.effect.std.Dispatcher$$$Lambda$12190/0x00007f30e40cc3d0@37fe71d3
963+
// fs = cats.effect.std.Dispatcher$$$Lambda$12935/0x00007f26dc2376d8@bf78380
964964
// ),
965-
// fs = cats.effect.kernel.Resource$$Lambda$12135/0x00007f30e40b0e60@26cb720
965+
// fs = cats.effect.kernel.Resource$$Lambda$12880/0x00007f26dc21af70@6575ebed
966966
// )
967967
publisher.use { p =>
968968
p.toStream[IO].compile.toList
969969
}
970970
// res59: IO[List[Int]] = FlatMap(
971971
// ioe = Delay(
972-
// thunk = cats.effect.IO$$$Lambda$11292/0x00007f30e3ece0a0@2195e60,
972+
// thunk = cats.effect.IO$$$Lambda$12038/0x00007f26dc036ca0@68b7ab6e,
973973
// event = cats.effect.tracing.TracingEvent$StackTrace
974974
// ),
975-
// f = cats.effect.kernel.Resource$$Lambda$12192/0x00007f30e40cd630@573fa87f,
975+
// f = cats.effect.kernel.Resource$$Lambda$12937/0x00007f26dc230800@7291139a,
976976
// event = cats.effect.tracing.TracingEvent$StackTrace
977977
// )
978978
```

0 commit comments

Comments
 (0)