Class RegisterOptions
public
Defined in:
packages/@ember/-internals/owner/index.ts:313
Module:
@ember/owner
Interface representing the options for registering an item as a factory.
instantiate public
Module:
@ember/owner
Defined in packages/@ember/-internals/owner/index.ts:321
Whether to instantiate the item when returning it from a lookup. Defaults
to true
.
singleton public
Module:
@ember/owner
Defined in packages/@ember/-internals/owner/index.ts:332
Whether the item is a singleton (like a service) and so should return the
same instance every time, or should generate a new instance on each call.
Defaults to true
.