Improve job send documentation

It now mentions job id 0 is the root nushell job
This commit is contained in:
cosineblast 2025-03-22 23:25:27 -03:00
parent 107fef44c4
commit 4c716cef75

View File

@ -18,6 +18,7 @@ impl Command for JobSend {
This command sends a message to a background job, which can then read sent messages
in a first-in-first-out fashion with `job recv`. When it does so, it may additionally specify a numeric filter tag,
in which case it will only read messages sent with the exact same filter tag.
In particular, the id 0 refers to the main/initial nushell thread.
A message can be any nushell value, and streams are always collected before being sent.