summaryrefslogtreecommitdiff
path: root/std/signal
diff options
context:
space:
mode:
authorTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2020-10-03 13:19:11 -0700
committerGitHub <noreply@github.com>2020-10-04 07:19:11 +1100
commitd0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch)
tree627339e0dc2212ed861184d46b6af31605224d24 /std/signal
parent391eed42f41bd277fff936192b474bfd52eaa1a0 (diff)
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'std/signal')
-rw-r--r--std/signal/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/std/signal/README.md b/std/signal/README.md
index 9684faba8..7a152cdca 100644
--- a/std/signal/README.md
+++ b/std/signal/README.md
@@ -1,10 +1,10 @@
# signal
-signal is a module used to capture and monitor OS signals
+signal is a module used to capture and monitor OS signals.
# usage
-The following functions are exposed in `mod.ts`
+The following functions are exposed in `mod.ts`:
## signal
@@ -14,7 +14,7 @@ Generates an AsyncIterable which can be awaited on for one or more signals.
```typescript
import { signal } from "https://deno.land/std/signal/mod.ts";
const sig = signal(Deno.Signal.SIGUSR1, Deno.Signal.SIGINT);
-setTimeout(() => {}, 5000); // Prevents exiting immediately
+setTimeout(() => {}, 5000); // Prevents exiting immediately.
for await (const _ of sig) {
// ..
@@ -33,6 +33,6 @@ import { onSignal } from "https://deno.land/std/signal/mod.ts";
const handle = onSignal(Deno.Signal.SIGINT, () => {
// ...
- handle.dispose(); // de-register from receiving further events
+ handle.dispose(); // de-register from receiving further events.
});
```