Threads progress

This commit is contained in:
2022-12-18 22:23:52 +00:00
parent e6ef1a5bc9
commit e617d6d528
13 changed files with 131 additions and 57 deletions

View File

@ -1,4 +1,5 @@
import { v4 as uuid } from "uuid";
import Connection from "./Connection";
export class Subscriptions {
constructor() {
@ -52,6 +53,12 @@ export class Subscriptions {
*/
this.OnEvent = (e) => { console.warn(`No event handler was set on subscription: ${this.Id}`) };
/**
* End of data event
* @param {Connection} c
*/
this.OnEnd = (c) => {};
/**
* Collection of OR sub scriptions linked to this
*/