Replies: 1 comment 1 reply
-
Personally, in the context of an actor system, blocking wouldn't make much sense. Not sure we need to be more specific/verbose here, since there isn't a non-spawning alternative. Improving docs might be all we need to clear up any more confusion. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to propose that we rename the scope's
send_future
method tospawn_send_message
, as this may more accurately describe what it is doing and could provide a higher degree of assurance.When looking at the example of using
fetch
with async/await, it wasn't clear to me that a spawn was taking place. I feel that it is important to understand that the spawn is occurring so we also understand that our component doesn't become unresponsive to other messages and events. Assend_future
is a spawned flavour ofsend_message
,spawn_send_message
may therefore lead to a better understanding of what is happening.Similarly:
send_future_batch
could becomespawn_send_message_batch
callback_future
could becomespawn_callback
callback_future_once
could becomespawn_callback_once
Preliminary discussions: https://discord.com/channels/701068342760570933/703449306497024049/886381533815009331
Beta Was this translation helpful? Give feedback.
All reactions