Threads progress
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user