Skip to content

Commit 1862047

Browse files
authored
Merge pull request #101 from slamdata/garyb-patch-1
Update reference to `later` in example
2 parents 2943766 + 2c742b1 commit 1862047

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ The `Control.Monad.Aff.AVar` module contains asynchronous variables, which are v
189189

190190
```purescript
191191
do v <- makeVar
192-
forkAff (later $ putVar v 1.0)
192+
forkAff do
193+
delay (Milliseconds 50.0)
194+
putVar v 1.0
193195
a <- takeVar v
194196
liftEff $ log ("Succeeded with " ++ show a)
195197
```

0 commit comments

Comments
 (0)