workflow-kotlin
workflow-kotlin copied to clipboard
Use the new inline ViewEnvironmentKey function where possible.
trafficstars
It didn't have to be a function, it's just a convenience that makes it easier to implement ViewEnvironmentKey, should have written it two years ago. I'd like to make a pass and use it universally after this merges.
Originally posted by @rjrjr in https://github.com/square/workflow-kotlin/pull/712#discussion_r839949333