Autowired.async constructor

const Autowired.async({
  1. Type? as,
  2. String? tag,
  3. bool permanent = false,
  4. bool callDependenciesBefore = false,
})

Register and call an async dependency.

Implementation

const Autowired.async({
  this.as,
  this.tag,
  this.permanent = false,
  this.callDependenciesBefore = false,
}) : _strategy = _AutowiredStrategy.async;