import { ChannelMessageFunctionInternal } from '@based/functions'; export type ActiveChannel = { name: string; id: number; payload: any; doesNotExist?: boolean; functionChannelClients: Set; clients: Set; oldClients?: Set; isActive: boolean; closeAfterIdleTime?: number; timeTillDestroy: number | null; isDestroyed: boolean; closeFunction?: () => void; };