
export class IPubSub<UpdateType>{
    publish: (topic: string, p: UpdateType) => Promise<void>
    subscribe: (topic:string, callback: (p:UpdateType)=>any) => Promise<string>
    unsubscribe: (uuid: string) => Promise<void>
}