The type of the resolved service
The service instance for the enclosing execution
Error If called outside an execution, reporting service; disposal of the execution's own
services counts as outside, as does a callback invoked from work that escaped the
execution, such as a timer
Error If the service depends on itself, either directly or through other services, reporting the dependency chain
Resolves a service.
Returns the instance produced by the implementation bound to
servicein the enclosing execution, or byserviceitself if unbound: a bound implementation is ready before the job is handed control, an unbound default is constructed on first lookup, and either way every later lookup in the same execution is handed the same instance.A job must await the work it starts. A promise chain left unawaited keeps the execution around it, so a lookup in one of its continuations resolves after disposal has run, into an instance nothing will dispose.