Skip to content

Commit 5df3c13

Browse files
boonepitr-ch
authored andcommitted
Removed duplicate documentation and fixed typos.
1 parent d454a6b commit 5df3c13

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib-edge/concurrent/actor/reference.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ def tell(message)
3535

3636
alias_method :<<, :tell
3737

38-
# @note it's a good practice to use tell whenever possible. Ask should be used only for
39-
# testing and when it returns very shortly. It can lead to deadlock if all threads in
40-
# global_io_executor will block on while asking. It's fine to use it form outside of actors and
41-
# global_io_executor.
42-
#
43-
# @note it's a good practice to use {#tell} whenever possible. Results can be send back with other messages.
38+
# @note it's a good practice to use {#tell} whenever possible. Results can be sent back with other messages.
4439
# Ask should be used only for testing and when it returns very shortly. It can lead to deadlock if all threads in
4540
# global_io_executor will block on while asking. It's fine to use it form outside of actors and
4641
# global_io_executor.
@@ -61,7 +56,7 @@ def ask(message, future = Concurrent::Promises.resolvable_future)
6156
# Sends the message synchronously and blocks until the message
6257
# is processed. Raises on error.
6358
#
64-
# @note it's a good practice to use {#tell} whenever possible. Results can be send back with other messages.
59+
# @note it's a good practice to use {#tell} whenever possible. Results can be sent back with other messages.
6560
# Ask should be used only for testing and when it returns very shortly. It can lead to deadlock if all threads in
6661
# global_io_executor will block on while asking. It's fine to use it form outside of actors and
6762
# global_io_executor.

0 commit comments

Comments
 (0)