Allows to refer to references which are not yet defined.
For instance, forwardRef is used when the token which we need to refer to for the purposes of
DI is declared, but not yet defined. It is also used when the token which we use when creating
a query is not yet defined.
Allows to refer to references which are not yet defined.
For instance,
forwardRef
is used when thetoken
which we need to refer to for the purposes of DI is declared, but not yet defined. It is also used when thetoken
which we use when creating a query is not yet defined.Usage Notes
Example
{@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}
Public Api