Finite constructor parameter lifetimes #5
Labels
accepted
This will be worked on
type: feature
Brand new functionality, features, pages, workflows, endpoints, etc.
Milestone
It's currently not possible to accept values with a lifetime shorter than
'static
in constructor arguments that are captured.It should be possible to specify any number of lifetime parameters on a component and use them with constructor arguments, including ones associated with a field capture.
Alternatively, accepting
'self
may be an option, though supporting this exclusively may cause issues where variance isn't present.The text was updated successfully, but these errors were encountered: