Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@neko-kai
Copy link
Member

No description provided.

@neko-kai neko-kai requested a review from a team September 22, 2019 09:43
* result in a catchable error, _if_ that error does not result from interruption.
* result in a catchable error. Joining an interrupted fiber will result in an
* "inner interruption" of this fiber, unlike interruption triggered by another
* fiber, "inner interruption" can be catched and recovered.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toes This comment update reflects that calling .interrupt before .join places Exit into result channel?

Copy link
Member Author

@neko-kai neko-kai Sep 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will place Cause.interrupt in the result channel and cause your fiber to terminate. I've read the previous comment as saying that joining the interrupted fiber will not result in error (will succeed) and got confused.

@neko-kai neko-kai merged commit 296d422 into zio:master Sep 22, 2019
XLPI pushed a commit to XLPI/zio that referenced this pull request Sep 22, 2019
ghostdogpr pushed a commit that referenced this pull request Sep 22, 2019
* Migrate StackBoolSpec to ZIO Tests (#1647)

* Fix build issues introduced by bundling (#1754)

* #1647 - converted SerializableSpec to ZTest (#1769)

* Move PlatformLive.ExecutorUtil to Executor companion object. private zio.internal.Sync (#1770)

* Modified dies signature (#1768)

* Modified dies signature

* Added type parameter

* Removed type parameter

* Restart schedule on end in ZStream#scheduleWith (#1767)

* Restart schedule on end

* Remove unused state, add docs

* Port ZStream.fromInputStream to StreamEffect #1460 (#1772)

* Port ZStream.fromInputStream (the one in platform.scala) to StreamEffect #1460

* Port ZStream.fromInputStream (the one in platform.scala) to StreamEffect #1460

* code review updates

* code review updates

* moved buffer to pull call, to avoid mutation

* catch exception and use StreamEffectChunk

* Specify that this fiber will be "inner interrupted" on joining an interrupted Fiber (#1774)

* #1647: Migrate all tests to ZIO Test: Platform spec (#1775)

* Migrate Fiber tests to ZIO Tests (#1647) (#1777)

* Update zio-interop-java to 1.1.0.0-RC5 (#1781)

* Update fs2-core to 2.0.1 (#1779)

* Update sbt-pgp to 1.1.2 (#1780)

* Update zio-interop-monix to 3.0.0.0-RC6 (#1782)

* updated resources page to add my examples (#1783)

* Migrate ZScheduleSpec to ZIO Tests (#1647)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants