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.
@async
1 parent a895fa8 commit 47cd776Copy full SHA for 47cd776
doc/src/manual/methods.md
@@ -615,7 +615,7 @@ Start some other operations that use `f(x)`:
615
julia> g(x) = f(x)
616
g (generic function with 1 method)
617
618
-julia> t = Threads.@spawn f(wait()); yield();
+julia> t = @async f(wait()); yield();
619
```
620
621
Now we add some new methods to `f(x)`:
@@ -640,7 +640,7 @@ julia> g(1)
640
julia> fetch(schedule(t, 1))
641
"original definition"
642
643
644
645
646
"definition for Int"
0 commit comments