Question · Angular course · Module 5: Services and DI

A derived value with computed

Which function will you use in a service to create a derived value computed automatically from other signals?

Answer options

  • effect()
  • computed()
  • inject()
  • asReadonly()

You can check the correct answer by solving this task in the CodeWorlds game.