File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
lib-edge/concurrent/actor Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments