Skip to content

Instantly share code, notes, and snippets.

@AlexDaSoul
Last active July 3, 2018 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDaSoul/115ced56ef7c4239d58ac5dac632cb75 to your computer and use it in GitHub Desktop.
Save AlexDaSoul/115ced56ef7c4239d58ac5dac632cb75 to your computer and use it in GitHub Desktop.
ws-8
export interface IWebsocketService {
on<T>(event: string): Observable<T>;
send(event: string, data: any): void;
status: Observable<boolean>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment