lib/src/http/lifecycle/WebSocketCloseEvent.ts

12 lines
305 B
TypeScript
Raw Normal View History

2022-07-14 06:15:16 +00:00
import {Event} from '../../support/bus'
import {uuid4} from '../../util'
/** Event used to tell the server to close the websocket connection. */
export class WebSocketCloseEvent implements Event {
eventName = '@extollo/lib:WebSocketCloseEvent'
eventUuid = uuid4()
shouldBroadcast = false
}