interface Service implements ServiceGroupimport { type Service } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts"; Propertiesstopped: Promise<null | Error>A promise that gets resolved to null or Error once the service ends. If an error, then service exited because of an error. isStopped: booleanTrue if the service is stopped Methodsstats(): Promise<ServiceStats>Returns the stats for the service. info(): ServiceInfoReturns a service info for the service ping(): ServiceIdentityReturns the identity used by this service reset(): voidResets all the stats stop(err?: Error): Promise<null | Error>Stop the service returning a promise once the service completes. If the service was stopped due to an error, that promise resolves to the specified error