Last active
December 29, 2022 11:38
-
-
Save qingwei91/84436ebbc932b3be2824a1f6e070b291 to your computer and use it in GitHub Desktop.
Sample IO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cats.effects._ | |
val knockNeighborsDoor = IO(raiseHandAndKnock) | |
knockNeighborsDoor.unsafeRunSync == noResponse | |
knockNeighborsDoor.unsafeRunSync == neighborOpenDoor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment