ConstOn initialization, Services will call the init method if it exists.
init can be async, but can accept only @Inject parameters.
init must return either void or a HttpResult.
Example:
@Service
export class MyService {
injectedProperty: SomeDependency;
async init(@Inject env: WranglerEnv) {
// perform async setup here
}
}
Marks a class as a Cloesce Service.
A stub decorator used by Cloesce to identify service classes.