import { HttpServer } from "@fluidframework/server-services-shared" ; import { IWebServer , IWebSocketServer } from "@fluidframework/server-services-core" ; export class WebServer implements IWebServer { constructor ( public httpServer , public webSocketServer ) { } public async close ( ) { await Promise . all ( [ this . httpServer . close ( ) , this . webSocketServer . close ( ) ] ) ; } }