We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Aff Unit
1 parent 1842a81 commit ff19847Copy full SHA for ff19847
CHANGELOG.md
@@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
5
## [Unreleased]
6
7
Breaking changes:
8
+- Restrict the signature of `launchAff_` to only work on `Aff Unit` (#203 by @i-am-the-slime)
9
- Migrate FFI to ES modules (#209 by @JordanMartinez)
10
11
New features:
src/Effect/Aff.purs
@@ -226,7 +226,7 @@ launchAff aff = do
226
pure fiber
227
228
-- | Forks an `Aff` from an `Effect` context, discarding the `Fiber`.
229
-launchAff_ :: forall a. Aff a -> Effect Unit
+launchAff_ :: Aff Unit -> Effect Unit
230
launchAff_ = void <<< launchAff
231
232
-- | Suspends an `Aff` from an `Effect` context, returning the `Fiber`.
0 commit comments