Skip to content

Commit

Permalink
Fix typo in IPC documentation (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jun 6, 2024
1 parent 4044152 commit e15e516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ipc.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ However, if you don't know whether a message will be sent, this can leave the su
import {getEachMessage} from 'execa';

// {type: 'gracefulExit'} is sometimes received, but not always
for await (const message of getEachMessage()) {
for await (const message of getEachMessage({reference: false})) {
if (message.type === 'gracefulExit') {
gracefulExit({reference: false});
gracefulExit();
}
}
```
Expand Down

0 comments on commit e15e516

Please sign in to comment.