What a service provider returns: an instance of the service T, and,
optionally, data for reporters, which service_provided carries. A
workflow makes it with this.provide(instance) or
this.provide(instance, data), so a provider that returns nothing does
not compile.
What a service provider returns: an instance of the service
T, and, optionally, data for reporters, whichservice_providedcarries. A workflow makes it withthis.provide(instance)orthis.provide(instance, data), so a provider that returns nothing does not compile.