Skip to content

Commit a75c1bd

Browse files
authored
improve docstring
1 parent 05582dc commit a75c1bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/internals.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ macro spawn(args...)
7878
end
7979

8080
"""
81+
@spawnat thrdid expr
82+
8183
Similar to `StableTasks.@spawn` but creates a **sticky** `Task` and schedules it to run on the thread with the given id (`thrdid`).
8284
The task is guaranteed to stay on this thread (it won't migrate to another thread).
8385
"""

0 commit comments

Comments
 (0)