Difference between hold and wait #61
-
What is the difference between hold and wait? Could they be named more succinctly, or any other word alternatives? Pause with parameters maybe? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See Admittedly, in particular The names were simply kept when porting a python library salabmin to kotlin when creating kalasim. |
Beta Was this translation helpful? Give feedback.
See
https://www.kalasim.org/state/#process-interaction-with-wait
and
https://www.kalasim.org/component/#hold
Admittedly, in particular
hold
could be emphasized better in the docs, as it is the most important method in the entire API.The names were simply kept when porting a python library salabmin to kotlin when creating kalasim.
pause
does not sound much better to me compared tohold
because all suspension functions in theComponent
API do pause in some way or another. But if there's a sound argument, the naming could be changed to ease the usage of the library.