Skip to content

Commit 2c742b1

Browse files
authored
Update reference to later in example
1 parent 2943766 commit 2c742b1

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)