When using EventHandler in multiple events, you currently need to clone the eventhandler into one closure and move it into the other closure.
Implement Suggestion
We can make EventHandler Copy with a CopyValue. When creating the CopyValue, it should be owned by the child scope like we currently do when converting T to ReadOnlySignal<T>here
Feature Request
When using EventHandler in multiple events, you currently need to clone the eventhandler into one closure and move it into the other closure.
Implement Suggestion
We can make EventHandler
Copy
with aCopyValue
. When creating theCopyValue
, it should be owned by the child scope like we currently do when convertingT
toReadOnlySignal<T>
here