We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2695f0d commit d510702Copy full SHA for d510702
1 file changed
src/Control/Monad/Aff.purs
@@ -19,7 +19,7 @@ module Control.Monad.Aff
19
, delay
20
, never
21
, finally
22
- , atomically
+ , invulnerable
23
, killFiber
24
, joinFiber
25
, cancelWith
@@ -262,8 +262,8 @@ finally ∷ ∀ eff a. Aff eff Unit → Aff eff a → Aff eff a
262
finally fin a = bracket (pure unit) (const fin) (const a)
263
264
-- | Runs an effect such that it cannot be killed.
265
-atomically ∷ ∀ eff a. Aff eff a → Aff eff a
266
-atomically a = bracket a (const (pure unit)) pure
+invulnerable ∷ ∀ eff a. Aff eff a → Aff eff a
+invulnerable a = bracket a (const (pure unit)) pure
267
268
-- | Attaches a custom `Canceler` to an action. If the computation is canceled,
269
-- | then the custom `Canceler` will be run afterwards.
0 commit comments