Skip to content

Commit 4ec08df

Browse files
committed
Apply kjvalencik's suggestions
1 parent 6de2337 commit 4ec08df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/async-sqlite/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Once the database thread is spawned, the JavaScript main thread needs a way to c
3535

3636
Rust data cannot be directly held by JavaScript. The [`JsBox`][jsbox] provides a mechanism for allowing JavaScript to hold a reference to Rust data and later access it again from Rust.
3737

38-
#### Channels and `EventQueue`
38+
#### Rust and Neon Channels
3939

40-
The mpsc channel provides a way for the JavaScript main thread to communicate with the database thread, but it is one-way. In order to complete the callback, the database thread must be able to communicate with the JavaScript main thread. [`Channel`][channel] provides a channel for sending these events back.
40+
The mpsc channel provides a way for the JavaScript main thread to communicate with the database thread, but it is one-way. In order to complete the callback, the database thread must be able to communicate with the JavaScript main thread. [`neon::event::Channel`][channel] provides a channel for sending these events back.
4141

4242
#### `Root`
4343

@@ -49,7 +49,7 @@ A [`Root`][root] is a special handle to a JavaScript value that prevents the val
4949

5050
[thread]: https://doc.rust-lang.org/std/thread/
5151
[mpsc]: https://doc.rust-lang.org/std/sync/mpsc/index.html
52-
[jsbox]: https://docs.rs/neon/0.9.1/neon/types/struct.JsBox.html
53-
[channel]: https://docs.rs/neon/0.9.1/neon/event/struct.Channel.html
54-
[handle]: https://docs.rs/neon/0.9.1/neon/handle/struct.Handle.html
55-
[root]: https://docs.rs/neon/0.9.1/neon/handle/struct.Root.html
52+
[jsbox]: https://docs.rs/neon/latest/neon/types/struct.JsBox.html
53+
[channel]: https://docs.rs/neon/latest/neon/event/struct.Channel.html
54+
[handle]: https://docs.rs/neon/latest/neon/handle/struct.Handle.html
55+
[root]: https://docs.rs/neon/latest/neon/handle/struct.Root.html

0 commit comments

Comments
 (0)