Interface ServiceDependencyOptions

A set of configuration options for a dependency of a service.

Hierarchy

  • ServiceDependencyOptions

Properties

Properties

mode?: number

The mode of the dependency. This is set with the use of the bit-flag helpers, such as Optional.

Example

An example of this option can be seen below:

@Service([
DatabaseService,
[TaskWorkerService, Optional() | Self()]
])
export class RootService { }

See

Generated using TypeDoc