IHostedService Interface
Something the host starts and stops.
Remarks
Start must return once the thing is up; it is not where the work happens. Raising from Start aborts the whole startup: the host stops whatever it had already started, in reverse order, and the process exits with a non-zero code.
Syntax
Unit: Sparkle.Host.Contracts
IHostedService = interface(IInterface);