Which @angular/* package(s) are the source of the bug?
core
Description
Right now @defer(on idle) will fire requestIdleCallback, but there's no way to configure the second options parameter that allows for a configuration of a timeout. It would be great to add support for this. Something like @defer(on idle(300)) {... would be great to see. This would also require ensuring that this deadline is respected in the scheduling of the callback. So we'd want to look at the IdleDeadline for that.
Which @angular/* package(s) are the source of the bug?
core
Description
Right now
@defer(on idle)will fire requestIdleCallback, but there's no way to configure the secondoptionsparameter that allows for a configuration of a timeout. It would be great to add support for this. Something like@defer(on idle(300)) {...would be great to see. This would also require ensuring that this deadline is respected in the scheduling of the callback. So we'd want to look at theIdleDeadlinefor that.