You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Currently it's possible to pass a process definition containing handleExternal or handleControlChannel to pserve, but this will fail at runtime with something like ExitOther "IllegalControlChannel". It would be better if the compiler enforced this distinction, so instead of embedding ProcessDefinition inside of PrioritisedProcessDefinition, I think we should copy the fields across (and rename them) so we can avoid this. I might be necessary to move external handlers out of the apiHandlers group to achieve this, but I think that's a price worth paying for the additional type safety.
The text was updated successfully, but these errors were encountered:
Currently it's possible to pass a process definition containing
handleExternal
orhandleControlChannel
topserve
, but this will fail at runtime with something likeExitOther "IllegalControlChannel"
. It would be better if the compiler enforced this distinction, so instead of embeddingProcessDefinition
inside ofPrioritisedProcessDefinition
, I think we should copy the fields across (and rename them) so we can avoid this. I might be necessary to move external handlers out of the apiHandlers group to achieve this, but I think that's a price worth paying for the additional type safety.The text was updated successfully, but these errors were encountered: