Skip to content
Permalink
Browse files

Removed duplicate documentation and fixed typos.

  • Loading branch information
boone authored and pitr-ch committed Oct 5, 2019
1 parent d454a6b commit 5df3c135d55c5d4efda0f7140421c84bd76b1ec7
Showing with 2 additions and 7 deletions.
  1. +2 −7 lib-edge/concurrent/actor/reference.rb
@@ -35,12 +35,7 @@ def tell(message)

alias_method :<<, :tell

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

0 comments on commit 5df3c13

Please sign in to comment.
You can’t perform that action at this time.