mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:58:06 +02:00
Improve job send documentation
It now mentions job id 0 is the root nushell job
This commit is contained in:
@ -17,7 +17,8 @@ impl Command for JobSend {
|
|||||||
r#"
|
r#"
|
||||||
This command sends a message to a background job, which can then read sent messages
|
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 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 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.
|
A message can be any nushell value, and streams are always collected before being sent.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user